This commit is contained in:
giles 2022-06-08 19:05:00 +01:00
parent 088aba5587
commit 3b6c1749fa
3 changed files with 9 additions and 5 deletions

View File

@ -2,5 +2,5 @@ echo $NAME \
&& export LOCAL_DOCKER_REGISTRY=${REGISTRY_DOMAIN}:${REGISTRY_PORT}/${ROOT}/${NAME}/ \
&& docker stack rm gitea \
&& echo 'sleeping...zzz' \
&& sleep 60 \
&& sleep 10 \
&& docker stack deploy -c docker-compose.yml gitea --with-registry-auth

View File

@ -12,4 +12,8 @@
* gitea-security-secret-key
* gitea-server-lfs-jwt-secret
* local-docker-registry
* registry-password
* registry-password
## mysql
set up https://docs.gitea.io/en-us/database-prep/

View File

@ -32,7 +32,7 @@ services:
networks:
- appnet
- externalnet
ghost-mysql:
mysql:
image: ${DOCKER_REGISTRY}mysql:5.7
deploy:
placement:
@ -41,14 +41,14 @@ services:
restart_policy:
condition: any
volumes:
- gitea-data:/var/lib/mysql
- gitea-data-1:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: $MYSQL_ROOT_PASSWORD
networks:
- appnet
volumes:
gitea-app-4:
gitea-data:
gitea-data-1:
networks:
appnet: