This commit is contained in:
l 2024-06-25 12:24:46 +05:00
parent 9f0aeefc2d
commit e083ae0589
6 changed files with 22 additions and 8 deletions

View File

@ -31,10 +31,6 @@ services:
networks:
- proxynet
depends_on:
traefik:
condition: service_started
postgres:
condition: service_started
gitea-cache:
condition: service_started
labels:
@ -70,3 +66,7 @@ services:
driver: "json-file"
options:
max-size: "1m"
networks:
proxynet:
external: true

View File

@ -10,3 +10,7 @@ services:
- "traefik.http.routers.nginx.rule=Host(`${DOMAIN}`)"
volumes:
- ./www/main:/usr/share/nginx/html
networks:
proxynet:
external: true

View File

@ -19,3 +19,7 @@ services:
volumes:
- ./data/pgadmin:/var/lib/pgadmin
- ./secrets/httpauth:/httpauth
networks:
proxynet:
external: true

View File

@ -27,3 +27,7 @@ services:
sh -c "chmod 755 /init-db/init-database.sh"
volumes:
- ./init-db:/init-db
networks:
proxynet:
external: true

View File

@ -2,6 +2,8 @@ Init:
sudo git clone git@rozenlab.com:leo/repo-server.git && sudo docker network create proxynet && cd repo-server && sudo chmod +x start.sh
sudo git pull git@rozenlab.com:leo/repo-server.git
---------------------------------------------------------------------
All run:

View File

@ -16,7 +16,7 @@ services:
- '--log=true'
#- "--log.level=INFO"
- "--providers.docker.exposedByDefault=false"
- "--providers.docker.network=proxynet"
- "--providers.docker.network=repo-server_proxynet"
#Entrypoints:
- "--entrypoints.http.address=:80"
- "--entrypoints.https.address=:443"