.
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Giles Bradshaw 2020-04-28 19:20:43 +01:00
parent a2c662ed6f
commit 1b54e785b3
2 changed files with 4 additions and 15 deletions

View File

@ -182,7 +182,7 @@ services:
condition: any
image: registry:2
ports:
- 5001:5001
- 5002:5001
volumes:
- registry-cache-data:/var/lib/registry
environment:
@ -308,18 +308,6 @@ services:
volumes:
- mongo-chat:/data/db
command: mongod --smallfiles --replSet rs0 --oplogSize 128
nginx-home:
deploy:
placement:
constraints: [node.labels.com.sigyl.git-stack == yes]
replicas: 1
restart_policy:
condition: any
image: ${LOCAL_DOCKER_REGISTRY}home
environment:
- SERVER_NAME=${BLOG_DOMAIN}
ports:
- 80:80
volumes:
gitea-app:

View File

@ -106,6 +106,7 @@ docker node update --label-add com.sigyl.git-stack=yes [node id]
### generate certificates
(rnd filke) dd if=/dev/urandom of=~/.rnd bs=256 count=1
where [registry-domain] is the domain on which the registry will be served
sh ca.sh [registry-domain]:5000
@ -181,8 +182,8 @@ docker ps
execute initdb.sql
```
docker exec -it [id] psql -U postgres -d guacamole_db -f /initdb.sql
docker exec -it [id] psql -U postgres -d guacamole_db -f /init-user.sql -v password='somepassword' -v user='guacamole_user'
docker exec -it $ID psql -U postgres -d guacamole_db -f /initdb.sql
docker exec -it $ID psql -U postgres -d guacamole_db -f /init-user.sql -v password='somepassword' -v user='guacamole_user'
```
initial admin is guacadmin:guacadmin