changes
This commit is contained in:
parent
9f0aeefc2d
commit
e083ae0589
@ -31,10 +31,6 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- proxynet
|
- proxynet
|
||||||
depends_on:
|
depends_on:
|
||||||
traefik:
|
|
||||||
condition: service_started
|
|
||||||
postgres:
|
|
||||||
condition: service_started
|
|
||||||
gitea-cache:
|
gitea-cache:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
labels:
|
labels:
|
||||||
@ -70,3 +66,7 @@ services:
|
|||||||
driver: "json-file"
|
driver: "json-file"
|
||||||
options:
|
options:
|
||||||
max-size: "1m"
|
max-size: "1m"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxynet:
|
||||||
|
external: true
|
||||||
|
@ -10,3 +10,7 @@ services:
|
|||||||
- "traefik.http.routers.nginx.rule=Host(`${DOMAIN}`)"
|
- "traefik.http.routers.nginx.rule=Host(`${DOMAIN}`)"
|
||||||
volumes:
|
volumes:
|
||||||
- ./www/main:/usr/share/nginx/html
|
- ./www/main:/usr/share/nginx/html
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxynet:
|
||||||
|
external: true
|
@ -19,3 +19,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./data/pgadmin:/var/lib/pgadmin
|
- ./data/pgadmin:/var/lib/pgadmin
|
||||||
- ./secrets/httpauth:/httpauth
|
- ./secrets/httpauth:/httpauth
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxynet:
|
||||||
|
external: true
|
@ -27,3 +27,7 @@ services:
|
|||||||
sh -c "chmod 755 /init-db/init-database.sh"
|
sh -c "chmod 755 /init-db/init-database.sh"
|
||||||
volumes:
|
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 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:
|
All run:
|
||||||
|
@ -16,7 +16,7 @@ services:
|
|||||||
- '--log=true'
|
- '--log=true'
|
||||||
#- "--log.level=INFO"
|
#- "--log.level=INFO"
|
||||||
- "--providers.docker.exposedByDefault=false"
|
- "--providers.docker.exposedByDefault=false"
|
||||||
- "--providers.docker.network=proxynet"
|
- "--providers.docker.network=repo-server_proxynet"
|
||||||
#Entrypoints:
|
#Entrypoints:
|
||||||
- "--entrypoints.http.address=:80"
|
- "--entrypoints.http.address=:80"
|
||||||
- "--entrypoints.https.address=:443"
|
- "--entrypoints.https.address=:443"
|
||||||
|
Loading…
Reference in New Issue
Block a user