This commit is contained in:
parent
586d92e765
commit
80543a76a9
24
README.md
24
README.md
|
@ -8,7 +8,13 @@
|
||||||
|
|
||||||
In a [docker](https://www.docker.com/) stack.
|
In a [docker](https://www.docker.com/) stack.
|
||||||
|
|
||||||
## static ip
|
### docker stack configuration
|
||||||
|
|
||||||
|
[docker-compose-home.yml](docker-compose-home.yml)
|
||||||
|
|
||||||
|
## deployments
|
||||||
|
|
||||||
|
### static ip
|
||||||
|
|
||||||
[![Build Status](https://sigyl.com:5000/api/badges/giles/stack/status.svg)](https://sigyl.com:5000/giles/stack)
|
[![Build Status](https://sigyl.com:5000/api/badges/giles/stack/status.svg)](https://sigyl.com:5000/giles/stack)
|
||||||
|
|
||||||
|
@ -19,9 +25,11 @@ In a [docker](https://www.docker.com/) stack.
|
||||||
* guacamole - https://sigyl.com/remote/
|
* guacamole - https://sigyl.com/remote/
|
||||||
* chat - https://sigyl.com/chat/
|
* chat - https://sigyl.com/chat/
|
||||||
|
|
||||||
[drone.do.yml](drone.do.yml) - [docker-compose-do.yml](docker-compose-do.yml)
|
#### starlark drone deployment file
|
||||||
|
|
||||||
## tunnelled with ngrok
|
[.drone-do.star](drone-do.star)
|
||||||
|
|
||||||
|
### tunnelled with ngrok
|
||||||
|
|
||||||
(very slow if home internet)
|
(very slow if home internet)
|
||||||
|
|
||||||
|
@ -34,6 +42,10 @@ In a [docker](https://www.docker.com/) stack.
|
||||||
* drone - https://drone.git.sigyl.com/
|
* drone - https://drone.git.sigyl.com/
|
||||||
* guacamole - https://git.sigyl.com/remote
|
* guacamole - https://git.sigyl.com/remote
|
||||||
|
|
||||||
|
#### starlark drone deployment file
|
||||||
|
|
||||||
|
[.drone-home.star](.drone-home.star)
|
||||||
|
|
||||||
## installation
|
## installation
|
||||||
|
|
||||||
Once installed and running the system can redeploy itself.
|
Once installed and running the system can redeploy itself.
|
||||||
|
@ -330,3 +342,9 @@ Vist domain/ghost and set up admin user.
|
||||||
### chat
|
### chat
|
||||||
|
|
||||||
Admin user is automatically created according to configured secrets
|
Admin user is automatically created according to configured secrets
|
||||||
|
|
||||||
|
### guacamole
|
||||||
|
|
||||||
|
sign in with guacadmin guacadmin
|
||||||
|
|
||||||
|
change password asap!
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
version: "3.7"
|
version: "3.7"
|
||||||
services:
|
services:
|
||||||
letsencrypt-git:
|
letsencrypt-git:
|
||||||
|
# nginx reverse proxy for all apps (except drone in a subdomain)
|
||||||
|
# automatically obtains and refreshes ssl certificates with letsencrypt
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints: [node.labels.com.sigyl.git-stack == yes]
|
constraints: [node.labels.com.sigyl.git-stack == yes]
|
||||||
|
@ -39,6 +41,7 @@ services:
|
||||||
- 5000:5000
|
- 5000:5000
|
||||||
- 5001:5001
|
- 5001:5001
|
||||||
letsencrypt-drone:
|
letsencrypt-drone:
|
||||||
|
# reverse proxy for drone in a subdomain
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints: [node.labels.com.sigyl.git-stack == yes]
|
constraints: [node.labels.com.sigyl.git-stack == yes]
|
||||||
|
@ -57,6 +60,7 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- drone-server
|
- drone-server
|
||||||
gitea:
|
gitea:
|
||||||
|
# gitea application
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints: [node.labels.com.sigyl.git-stack == yes]
|
constraints: [node.labels.com.sigyl.git-stack == yes]
|
||||||
|
@ -77,6 +81,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- appnet
|
- appnet
|
||||||
ngrok:
|
ngrok:
|
||||||
|
# ngrok tunnel client
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints: [node.labels.com.sigyl.git-stack == yes]
|
constraints: [node.labels.com.sigyl.git-stack == yes]
|
||||||
|
@ -98,6 +103,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- appnet
|
- appnet
|
||||||
drone-server:
|
drone-server:
|
||||||
|
# drone server application
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints: [node.labels.com.sigyl.git-stack == yes]
|
constraints: [node.labels.com.sigyl.git-stack == yes]
|
||||||
|
@ -128,6 +134,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- appnet
|
- appnet
|
||||||
drone-docker-runner:
|
drone-docker-runner:
|
||||||
|
# drone runner performs builds
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints: [node.labels.com.sigyl.git-stack == yes]
|
constraints: [node.labels.com.sigyl.git-stack == yes]
|
||||||
|
@ -146,6 +153,7 @@ services:
|
||||||
- DRONE_RUNNER_CAPACITY=8
|
- DRONE_RUNNER_CAPACITY=8
|
||||||
- DRONE_RUNNER_NAME="docker-runner"
|
- DRONE_RUNNER_NAME="docker-runner"
|
||||||
drone-starlark:
|
drone-starlark:
|
||||||
|
# drone starlark server converts starlark to yaml
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints: [node.labels.com.sigyl.git-stack == yes]
|
constraints: [node.labels.com.sigyl.git-stack == yes]
|
||||||
|
@ -161,8 +169,8 @@ services:
|
||||||
- SIGYL_STACK_ROOT=$SIGYL_STACK_ROOT
|
- SIGYL_STACK_ROOT=$SIGYL_STACK_ROOT
|
||||||
networks:
|
networks:
|
||||||
- appnet
|
- appnet
|
||||||
|
|
||||||
registry:
|
registry:
|
||||||
|
# internal registry
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints: [node.labels.com.sigyl.git-stack == yes]
|
constraints: [node.labels.com.sigyl.git-stack == yes]
|
||||||
|
@ -184,6 +192,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 5003:5000
|
- 5003:5000
|
||||||
registry-1:
|
registry-1:
|
||||||
|
# internal registry #1 (why?)
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints: [node.labels.com.sigyl.git-stack == yes]
|
constraints: [node.labels.com.sigyl.git-stack == yes]
|
||||||
|
@ -198,6 +207,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- appnet
|
- appnet
|
||||||
registry-cache:
|
registry-cache:
|
||||||
|
# registry cache (used?)
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints: [node.labels.com.sigyl.git-stack == yes]
|
constraints: [node.labels.com.sigyl.git-stack == yes]
|
||||||
|
@ -219,8 +229,8 @@ services:
|
||||||
secrets:
|
secrets:
|
||||||
- registry-cert
|
- registry-cert
|
||||||
- registry-key
|
- registry-key
|
||||||
|
|
||||||
ghost:
|
ghost:
|
||||||
|
# ghost blog
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints: [node.labels.com.sigyl.git-stack == yes]
|
constraints: [node.labels.com.sigyl.git-stack == yes]
|
||||||
|
@ -241,6 +251,7 @@ services:
|
||||||
- appnet
|
- appnet
|
||||||
|
|
||||||
guacamole-postgresql:
|
guacamole-postgresql:
|
||||||
|
# database for guacamole
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints: [node.labels.com.sigyl.git-stack-data == yes]
|
constraints: [node.labels.com.sigyl.git-stack-data == yes]
|
||||||
|
|
Reference in New Issue