-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
63 lines (57 loc) · 1.23 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
57
58
59
60
61
62
63
version: "3"
services:
nginx:
image: nginx
ports:
- "8080:80"
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
# - ./nginx/ssl:/etc/nginx/ssl:ro
# - ./nginx/index.html:/app/html:ro
gamification-api:
build: .
hostname: gamification-api
container_name: gamification-api
environment:
MONGO_URI: ${MONGO_URI}
env_file:
- .env
volumes:
- .:/app
# ports:
# - "3000:3000"
depends_on:
- mongodb
users-api:
image: rastokopal/factcheckingbe_api
hostname: users-api
container_name: users-api
environment:
MONGO_URI: ${MONGO_URI}
NODE_ENV: development
env_file:
- .env
# ports:
# - "3001:3000"
depends_on:
- mongodb
command: yarn dev -- -L
mongodb:
image: mongo
ports:
- "27017:27017"
# smtp4dev:
# image: rnwood/smtp4dev:v3
# restart: always
# ports:
# - '5000:5000'
# - '25:25'
# - '143:143'
# volumes:
# - smtp4dev-data:/smtp4dev
# environment:
# - ServerOptions__HostName=${EMAIL_HOST}
# - RelayOptions__Login=${EMAIL_USERNAME}
# - RelayOptions__Password=${EMAIL_PASSWORD}
# volumes:
# smtp4dev-data: