changes
This commit is contained in:
parent
9f0aeefc2d
commit
e083ae0589
10
gitea.yml
10
gitea.yml
@ -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
|
||||
|
@ -10,3 +10,7 @@ services:
|
||||
- "traefik.http.routers.nginx.rule=Host(`${DOMAIN}`)"
|
||||
volumes:
|
||||
- ./www/main:/usr/share/nginx/html
|
||||
|
||||
networks:
|
||||
proxynet:
|
||||
external: true
|
@ -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
|
@ -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
|
@ -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:
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user