Add service network
This commit is contained in:
parent
bc8c6dedf4
commit
94ec331f52
@ -10,6 +10,7 @@ services:
|
||||
- ${STL_DIR}:/libraries
|
||||
networks:
|
||||
- web
|
||||
- default
|
||||
labels:
|
||||
- traefik.http.routers.vandam.rule=Host(`3d.jafner.net`)
|
||||
- traefik.http.routers.vandam.tls.certresolver=lets-encrypt
|
||||
@ -21,6 +22,8 @@ services:
|
||||
db:
|
||||
image: postgres:13
|
||||
container_name: vandam_postgres
|
||||
networks:
|
||||
- default
|
||||
env_file:
|
||||
- db_secrets.env
|
||||
volumes:
|
||||
@ -28,6 +31,8 @@ services:
|
||||
|
||||
redis:
|
||||
image: redis:6
|
||||
networks:
|
||||
- default
|
||||
container_name: vandam_redis
|
||||
|
||||
volumes:
|
||||
@ -35,4 +40,5 @@ volumes:
|
||||
|
||||
networks:
|
||||
web:
|
||||
external: true
|
||||
external: true
|
||||
default:
|
Loading…
Reference in New Issue
Block a user