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:
@ -69,4 +65,8 @@ services:
logging:
driver: "json-file"
options:
max-size: "1m"
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

@ -18,4 +18,8 @@ services:
PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED: 'False'
volumes:
- ./data/pgadmin:/var/lib/pgadmin
- ./secrets/httpauth:/httpauth
- ./secrets/httpauth:/httpauth
networks:
proxynet:
external: true

View File

@ -26,4 +26,8 @@ services:
command: >
sh -c "chmod 755 /init-db/init-database.sh"
volumes:
- ./init-db:/init-db
- ./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"