-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
53 lines (49 loc) · 1.01 KB
/
docker-compose.dev.yml
File metadata and controls
53 lines (49 loc) · 1.01 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
version: '3.8'
services:
messenger-bot:
container_name: bot-backend-app
image: bot-backend-image
build:
context: .
dockerfile: Dockerfile.backend
target: development
environment:
- BASE_SERVER_ADDRESS=http://localhost:8080
- SPRING_PROFILES_ACTIVE=docker
- MESSENGER_APP_VERIFICATION_TOKEN=
- MESSENGER_APP_SECRET_KEY=
ports:
- 18080:8080
expose:
- 8080
volumes:
- ./:/app
depends_on:
- pg-db
networks:
- db-network
bot-dashboard:
container_name: bot-dashboard-app
image: bot-dashboard-image
build:
context: ./frontend
dockerfile: Dockerfile.frontend
ports:
- 14200:80
expose:
- 80
networks:
- db-network
pg-db:
image: postgres:alpine
ports:
- 15432:5432
environment:
- 'POSTGRES_DB=ms-bot'
- 'POSTGRES_USER=postgres'
- 'POSTGRES_PASSWORD=admin'
networks:
- db-network
networks:
db-network:
driver: bridge