add network
This commit is contained in:
@@ -23,6 +23,8 @@ services:
|
|||||||
- DATABASE_URL=postgresql://${DB_USERNAME}:${DB_PASSWORD}@postgres:5432/${DB_DATABASE:-affine}
|
- DATABASE_URL=postgresql://${DB_USERNAME}:${DB_PASSWORD}@postgres:5432/${DB_DATABASE:-affine}
|
||||||
- AFFINE_INDEXER_ENABLED=false
|
- AFFINE_INDEXER_ENABLED=false
|
||||||
restart: always
|
restart: always
|
||||||
|
networks:
|
||||||
|
- affinenet
|
||||||
|
|
||||||
affine_migration:
|
affine_migration:
|
||||||
image: ghcr.io/toeverything/affine:${AFFINE_REVISION:-stable}
|
image: ghcr.io/toeverything/affine:${AFFINE_REVISION:-stable}
|
||||||
@@ -43,6 +45,8 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
redis:
|
redis:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
networks:
|
||||||
|
- affinenet
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis
|
image: redis
|
||||||
@@ -53,6 +57,8 @@ services:
|
|||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
restart: always
|
restart: always
|
||||||
|
networks:
|
||||||
|
- affinenet
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: pgvector/pgvector:pg16
|
image: pgvector/pgvector:pg16
|
||||||
@@ -74,3 +80,12 @@ services:
|
|||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
restart: always
|
restart: always
|
||||||
|
networks:
|
||||||
|
- affinenet
|
||||||
|
|
||||||
|
networks:
|
||||||
|
affinenet:
|
||||||
|
driver: bridge
|
||||||
|
ipam:
|
||||||
|
config:
|
||||||
|
- subnet: 172.54.0.0/24
|
||||||
|
|||||||
Reference in New Issue
Block a user