diff --git a/ci/.env.ci b/ci/.env.ci index 57b6d64..9f665ad 100644 --- a/ci/.env.ci +++ b/ci/.env.ci @@ -3,10 +3,10 @@ SERVICE_URL=0.0.0.0 SERVICE_PORT=5001 # PRISMA -DATABASE_URL="postgresql://mobicoop:mobicoop@v3-user-db-test:5432/mobicoop?schema=public" +DATABASE_URL="postgresql://mobicoop:mobicoop@v3-db:5432/mobicoop?schema=public" # RABBIT MQ -RMQ_URI=amqp://v3-user-broker:5672 +RMQ_URI=amqp://v3-broker:5672 # MESSAGE BROKER BROKER_IMAGE=rabbitmq:3-alpine @@ -16,6 +16,6 @@ POSTGRES_IMAGE=postgres:15.0 # REDIS REDIS_IMAGE=redis:7.0-alpine -REDIS_HOST=v3-user-redis +REDIS_HOST=v3-redis REDIS_PASSWORD=redis REDIS_PORT=6379 diff --git a/docker-compose.ci.tools.yml b/docker-compose.ci.tools.yml index ecb90e1..81b7c61 100644 --- a/docker-compose.ci.tools.yml +++ b/docker-compose.ci.tools.yml @@ -1,30 +1,30 @@ version: '3.8' services: - v3-user-redis: - container_name: v3-user-redis + redis: + container_name: v3-redis image: ${REDIS_IMAGE} ports: - - 6501:6379 + - 6379:6379 env_file: - ci/.env.ci networks: - v3-network - v3-user-db-test: - container_name: v3-user-db-test + db: + container_name: v3-db image: ${POSTGRES_IMAGE} environment: POSTGRES_DB: mobicoop POSTGRES_USER: mobicoop POSTGRES_PASSWORD: mobicoop ports: - - 5601:5432 + - 5432:5432 networks: - v3-network - v3-user-broker: - container_name: v3-user-broker + broker: + container_name: v3-broker image: ${BROKER_IMAGE} ports: - 5672:5672