-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
82 lines (76 loc) · 1.5 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
version: '3'
services:
# db:
# image: mariadb:latest
# environment:
# - MARIADB_USER=nextpex
# - MARIADB_PASSWORD=nextpex
# - MARIADB_ROOT_PASSWORD=nextpex
# - MARIADB_DATABASE=nextpex
# ports:
# - "3600:3306"
# volumes:
# - "dbdata:/var/lib/mysql"
# - ./initdb.d:/docker-entrypoint-initdb.d
# restart: always
frontend:
build: ./nextpex-frontend
restart: always
ports:
- "3600:80"
depends_on:
- api
profiles:
- frontend
frontend-v2:
build: ./frontend-v2
restart: always
ports:
- "3600:80"
depends_on:
- api
profiles:
- frontend-v2
redis:
image: redis:latest
volumes:
- "redisdata:/data"
restart: always
bot:
build: ./botv2
env_file:
- botv2/.env
depends_on:
- api
- redis
profiles:
- bot
restart: always
api:
container_name: nextpex-api
build: ./fastestserver
ports:
- "3601:9000"
restart: always
volumes:
- ./data:/usr/src/app/data
env_file:
- fastestserver/.env
depends_on:
- redis
watcher:
container_name: nextpex-watcher
env_file:
- watcher/.env
build:
context: watcher
dockerfile: Dockerfile
restart: always
tty: true
volumes:
- ./watcher:/usr/src/app
- ./data:/data
ports:
- "8088:1323"
volumes:
redisdata: