compose: join external storage network

The new asxpio/storage stack owns a Docker network named "storage" carrying
Postgres and MinIO. The app joins it (alongside traefik) so it can reach
postgres:5432 and minio:9000 by service name.
This commit is contained in:
Sergei Poljanski 2026-05-26 17:29:09 +03:00
commit 1e4bded4ae
Signed by: asxpi
GPG key ID: 4F8851660FA4121B

View file

@ -9,6 +9,7 @@ services:
env_file: .env env_file: .env
networks: networks:
- traefik - traefik
- storage
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.asxpio.rule=Host(`asxp.io`) || Host(`www.asxp.io`)" - "traefik.http.routers.asxpio.rule=Host(`asxp.io`) || Host(`www.asxp.io`)"
@ -20,3 +21,5 @@ services:
networks: networks:
traefik: traefik:
external: true external: true
storage:
external: true