[ADD] Adding IPv6 connectivity from withing the container (wasn't aware it wasn't done by default)
This commit is contained in:
parent
6a6d888b4d
commit
0e623f82b2
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
|
@ -33,4 +33,4 @@ jobs:
|
||||||
END
|
END
|
||||||
- name: Run Deploy
|
- name: Run Deploy
|
||||||
run: |
|
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"
|
|
@ -8,11 +8,23 @@ services:
|
||||||
- "127.0.0.1:8000:8000"
|
- "127.0.0.1:8000:8000"
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
networks:
|
||||||
|
- tldnet
|
||||||
db:
|
db:
|
||||||
image: postgres:15
|
image: postgres:15
|
||||||
volumes:
|
volumes:
|
||||||
- postgres_data:/var/lib/postgresql/data/
|
- postgres_data:/var/lib/postgresql/data/
|
||||||
env_file:
|
env_file:
|
||||||
- env.prod.db
|
- env.prod.db
|
||||||
|
networks:
|
||||||
|
- tldnet
|
||||||
volumes:
|
volumes:
|
||||||
postgres_data:
|
postgres_data:
|
||||||
|
|
||||||
|
networks:
|
||||||
|
tldnet:
|
||||||
|
driver: bridge
|
||||||
|
enable_ipv6: true
|
||||||
|
ipam:
|
||||||
|
config:
|
||||||
|
- subnet: "2a01:4f8:1c1b:7011::2:0/112"
|
Loading…
Reference in a new issue