You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
909 B
27 lines
909 B
2 years ago
|
version: "2"
|
||
|
services:
|
||
|
sv-backend-product:
|
||
|
container_name: sv_backend_product
|
||
|
build: .
|
||
|
environment:
|
||
|
- PORT=6000
|
||
|
- POSTGRES_URI=postgres://admin:admin@postgresql:5432/b2c
|
||
|
- POSTGRES_URI_TEST=postgres://admin:admin@postgresql:5432/b2c-test
|
||
|
- MONGO_URI=mongodb://mongo:27017/b2c-event?authSource=admin
|
||
|
- MONGO_URI_TEST=mongodb://mongo:27017/b2c-event-test?authSource=admin
|
||
|
- RABBITMQ_URI=amqp://rabbitmq:5672
|
||
|
- REDIS_URI=redis://redis:6379
|
||
|
- MANAGER_SERVICE_URL=https://sv_backend_manager
|
||
|
user: "1000:1000"
|
||
|
volumes:
|
||
|
- .:/app
|
||
|
ports:
|
||
|
- "6001:6000"
|
||
|
external_links:
|
||
|
- mongodb
|
||
|
networks:
|
||
|
- docker_sv_backend_common
|
||
|
networks:
|
||
|
docker_sv_backend_common:
|
||
|
external: true
|