build: update default container name to avoid conflict (#11782)

This commit is contained in:
forehalo
2025-04-18 01:37:41 +00:00
parent 5e0d1fae98
commit 8a013af12f
+2 -2
View File
@@ -44,7 +44,7 @@ services:
redis: redis:
image: redis image: redis
container_name: redis container_name: affine_redis
healthcheck: healthcheck:
test: ['CMD', 'redis-cli', '--raw', 'incr', 'ping'] test: ['CMD', 'redis-cli', '--raw', 'incr', 'ping']
interval: 10s interval: 10s
@@ -54,7 +54,7 @@ services:
postgres: postgres:
image: postgres:16 image: postgres:16
container_name: postgres container_name: affine_postgres
volumes: volumes:
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data - ${DB_DATA_LOCATION}:/var/lib/postgresql/data
environment: environment: