-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.prod.yml
More file actions
45 lines (42 loc) · 866 Bytes
/
docker-compose.prod.yml
File metadata and controls
45 lines (42 loc) · 866 Bytes
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
version: '3.8'
services:
messenger-bot:
build:
context: .
dockerfile: Dockerfile.backend
target: production
environment:
- BASE_SERVER_ADDRESS=https://motivation.bieda.it
- SERVER_PORT=80
- SPRING_PROFILES_ACTIVE=docker
- MESSENGER_APP_VERIFICATION_TOKEN=
- MESSENGER_APP_SECRET_KEY=
ports:
- 20174:80
depends_on:
- pg-db
networks:
- pg-network
bot-dashboard:
build:
context: ./frontend
dockerfile: Dockerfile.frontend
ports:
- 40450:80
expose:
- 80
networks:
- pg-network
pg-db:
image: postgres:alpine
ports:
- 30174:5432
environment:
- 'POSTGRES_DB=ms-bot'
- 'POSTGRES_USER=postgres'
- 'POSTGRES_PASSWORD=admin'
networks:
- pg-network
networks:
pg-network:
driver: bridge