fix(all stacks): Caddy networking

master
arcbjorn 2 years ago
parent 054870c259
commit 1cadb83fd3

@ -1,6 +1,5 @@
version: "3.3"
networks:
caddy:
version: "3.9"
services:
portainer:
image: portainer/portainer-ce:latest
@ -31,7 +30,13 @@ services:
- /root/containers/caddy/caddy_config:/config
networks:
- caddy
volumes:
caddy_data:
external: true
caddy_config:
networks:
caddy:
external: true
name: caddy

@ -20,6 +20,7 @@ services:
- /etc/localtime:/etc/localtime:ro
networks:
- postgresql-network
- caddy
ports:
- "${GIT_PORT}:3000"
- "222:22"
@ -27,8 +28,3 @@ services:
volumes:
gitea:
name: gitea
networks:
postgresql-network:
external: true
name: postgresql-network

@ -1,4 +1,4 @@
version: "3.8"
version: "3.9"
services:
postgresql:
@ -25,6 +25,7 @@ services:
networks:
- postgresql-network
- caddy
env_file:
- ../stack.env

Loading…
Cancel
Save