.
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
a2c662ed6f
commit
1b54e785b3
|
@ -182,7 +182,7 @@ services:
|
||||||
condition: any
|
condition: any
|
||||||
image: registry:2
|
image: registry:2
|
||||||
ports:
|
ports:
|
||||||
- 5001:5001
|
- 5002:5001
|
||||||
volumes:
|
volumes:
|
||||||
- registry-cache-data:/var/lib/registry
|
- registry-cache-data:/var/lib/registry
|
||||||
environment:
|
environment:
|
||||||
|
@ -308,18 +308,6 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- mongo-chat:/data/db
|
- mongo-chat:/data/db
|
||||||
command: mongod --smallfiles --replSet rs0 --oplogSize 128
|
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:
|
volumes:
|
||||||
gitea-app:
|
gitea-app:
|
||||||
|
|
|
@ -106,6 +106,7 @@ docker node update --label-add com.sigyl.git-stack=yes [node id]
|
||||||
|
|
||||||
### generate certificates
|
### 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
|
where [registry-domain] is the domain on which the registry will be served
|
||||||
|
|
||||||
sh ca.sh [registry-domain]:5000
|
sh ca.sh [registry-domain]:5000
|
||||||
|
@ -181,8 +182,8 @@ docker ps
|
||||||
execute initdb.sql
|
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 /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 /init-user.sql -v password='somepassword' -v user='guacamole_user'
|
||||||
```
|
```
|
||||||
|
|
||||||
initial admin is guacadmin:guacadmin
|
initial admin is guacadmin:guacadmin
|
||||||
|
|
Reference in New Issue