seperatedcaddy
This commit is contained in:
@@ -18,43 +18,17 @@ services:
|
||||
GITEA__repository__ENABLE_PUSH_CREATE_USER: "${GITEA_ENABLE_PUSH_CREATE_USER}"
|
||||
GITEA__repository__ENABLE_PUSH_CREATE_ORG: "${GITEA_ENABLE_PUSH_CREATE_ORG}"
|
||||
volumes:
|
||||
- ../data:/data
|
||||
- ../git:/git
|
||||
- ./data:/data
|
||||
- ./git:/git
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "3000:3000"
|
||||
# - "3000:3000"
|
||||
- "2222:22"
|
||||
networks:
|
||||
- gitea_net
|
||||
|
||||
|
||||
caddy:
|
||||
build: .
|
||||
container_name: caddy
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- gitea
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
||||
- caddy_data:/data
|
||||
- caddy_config:/config
|
||||
networks:
|
||||
- gitea_net
|
||||
|
||||
|
||||
- caddy_net
|
||||
|
||||
networks:
|
||||
gitea_net:
|
||||
driver: bridge
|
||||
caddy_net:
|
||||
external: true
|
||||
|
||||
|
||||
|
||||
volumes:
|
||||
caddy_data:
|
||||
caddy_config:
|
||||
|
||||
Reference in New Issue
Block a user