Add missing docker-compose networking
This commit is contained in:
parent
0980fcc4ad
commit
a77d9d1a6f
@ -10,12 +10,15 @@ services:
|
||||
- db
|
||||
networks:
|
||||
- web
|
||||
- sharry
|
||||
labels:
|
||||
- traefik.http.routers.sharry.rule=Host(`file.jafner.net`)
|
||||
- traefik.http.routers.sharry.tls.certresolver=lets-encrypt
|
||||
db:
|
||||
image: postgres:14.2
|
||||
container_name: sharry_db
|
||||
networks:
|
||||
- sharry
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data/
|
||||
environment:
|
||||
@ -26,5 +29,6 @@ volumes:
|
||||
postgres_data:
|
||||
|
||||
networks:
|
||||
sharry:
|
||||
web:
|
||||
external: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user