[ADD] Adding IPv6 connectivity from withing the container (wasn't aware it wasn't done by default)

This commit is contained in:
Arnold Dechamps 2024-05-22 03:00:31 +02:00
parent 6a6d888b4d
commit 0e623f82b2
No known key found for this signature in database
GPG key ID: AE66543374E41C89
2 changed files with 13 additions and 1 deletions

View file

@ -33,4 +33,4 @@ jobs:
END
- name: Run Deploy
run: |
ssh target "cd tldtest && git pull origin master && docker-compose down && docker-compose up --build -d"
ssh target "cd tldtest && docker-compose down && git pull origin master && docker-compose up --build -d"

View file

@ -8,11 +8,23 @@ services:
- "127.0.0.1:8000:8000"
depends_on:
- db
networks:
- tldnet
db:
image: postgres:15
volumes:
- postgres_data:/var/lib/postgresql/data/
env_file:
- env.prod.db
networks:
- tldnet
volumes:
postgres_data:
networks:
tldnet:
driver: bridge
enable_ipv6: true
ipam:
config:
- subnet: "2a01:4f8:1c1b:7011::2:0/112"