-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
56 lines (51 loc) · 1.11 KB
/
docker-compose.dev.yml
File metadata and controls
56 lines (51 loc) · 1.11 KB
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.8'
services:
comment:
build:
context: .
dockerfile: Dockerfile
container_name: comment-service-dev
ports:
- "5010:5010"
environment:
- SERVER_PORT=5010
- MONGODB_URI=mongodb://mongo:27017
- MONGODB_DATABASE=comment_dev
- REDIS_HOST=redis
- REDIS_PORT=6379
- AUTH_SERVICE_URL=http://auth:5000
- NOTIFIER_SERVICE_URL=http://notifier:5001
- NOTIFIER_ENABLED=true
- MODERATION_REQUIRE_APPROVAL=false
volumes:
- .:/app
- ./logs:/app/logs
depends_on:
- mongo
- redis
networks:
- minisource-network
restart: unless-stopped
mongo:
image: mongo:7
container_name: comment-mongo-dev
ports:
- "27017:27017"
volumes:
- mongo-data-dev:/data/db
networks:
- minisource-network
restart: unless-stopped
redis:
image: redis:7-alpine
container_name: comment-redis-dev
ports:
- "6379:6379"
networks:
- minisource-network
restart: unless-stopped
volumes:
mongo-data-dev:
networks:
minisource-network:
external: true