Merge pull request #66 from altf4arnold/IPv6

[ADD] Adding IPv6 connectivity from withing the container
This commit is contained in:
Arnold Dechamps 2024-05-22 03:13:56 +02:00 committed by GitHub
commit 67152619e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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"