From 3b6c1749fad343e3ffa8c870beed30abbcc185cc Mon Sep 17 00:00:00 2001 From: giles Date: Wed, 8 Jun 2022 19:05:00 +0100 Subject: [PATCH] . --- .drone/deploy.sh | 2 +- README.md | 6 +++++- docker-compose.yml | 6 +++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.drone/deploy.sh b/.drone/deploy.sh index 18ae57e..cc8f460 100644 --- a/.drone/deploy.sh +++ b/.drone/deploy.sh @@ -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 diff --git a/README.md b/README.md index b09688c..32d6a21 100644 --- a/README.md +++ b/README.md @@ -12,4 +12,8 @@ * gitea-security-secret-key * gitea-server-lfs-jwt-secret * local-docker-registry -* registry-password \ No newline at end of file +* registry-password + +## mysql + +set up https://docs.gitea.io/en-us/database-prep/ \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 4050ff1..74f2d8a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: