diff --git a/docker-compose-home.yml b/docker-compose-home.yml index a12584d..a22bcd2 100644 --- a/docker-compose-home.yml +++ b/docker-compose-home.yml @@ -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: diff --git a/install.md b/install.md index 099b84a..fcab398 100644 --- a/install.md +++ b/install.md @@ -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