-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
56 lines (52 loc) · 1.3 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
version: '3'
networks:
aggregator_dev:
driver: bridge
services:
aggregator_queue_redis:
image: redis
container_name: aggregator_queue_redis
environment:
- ALLOW_EMPTY_PASSWORD=true
ports:
- '6379:6379'
networks:
- aggregator_dev
aggregator_main_pg_db:
image: postgres
container_name: aggregator_main_pg_db
restart: unless-stopped
ports:
- '5440:5432'
environment:
POSTGRES_PASSWORD: SuperSecret!23
POSTGRES_USER: postgres
POSTGRES_DB: postgres_aggregator_main
# volumes:
# - ./.docker-data/postgres:/var/lib/postgresql/data
networks:
- aggregator_dev
# aggregator_app_nest:
# build:
# context: ./
# dockerfile: local.Dockerfile
# image: aggregator_app_nest
# container_name: aggregator_app_nest
# depends_on:
# - aggregator_queue_redis
# - aggregator_main_pg_db
# environment:
# AGGREGATOR_DB_HOST: aggregator_main_pg_db
# AGGREGATOR_DB_PORT: 5432
# AGGREGATOR_REDIS_HOST: aggregator_queue_redis
# AGGREGATOR_REDIS_PORT: 6379
# AGGREGATOR_HISTORY_RENEW_INTERVAL_MS: 30000
# APP_PORT: 8080
# NODE_ENV: development
# ports:
# - '8080:8080'
# volumes:
# - ./:/app
# - /app/node_modules
# networks:
# - aggregator_dev