fix(all stacks): Caddy networking

master
arcbjorn 2 years ago
parent 054870c259
commit 1cadb83fd3

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

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

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

Loading…
Cancel
Save