This commit is contained in:
parent
088aba5587
commit
3b6c1749fa
|
@ -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
|
||||
|
|
|
@ -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/
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue