-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
79 lines (72 loc) · 1.68 KB
/
Copy pathdocker-compose.yml
File metadata and controls
79 lines (72 loc) · 1.68 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
version: "3.8"
services:
algorithm-fighter-mysql:
image: bery0na/algofi-mysql:72ee07cb269008104bc6f1114849b23f8b54822f
# build: ./kp-deploy-algofi-mysql-k8s
ports:
- 3306:3306
networks:
- algofi-network
volumes:
- mydata:/var/lib/mysql
deploy:
resources:
limits:
cpus: "1"
memory: 256M
restart: always
algorithm-fighter-core:
image: bery0na/algofi-core:4e36c6c576fbd9f20a1de1a1a3fb4315910bc1b6
# build: ./kp-deploy-algofi-core
ports:
- 8080:8080
networks:
- algofi-network
environment:
- DB_URL=algorithm-fighter-mysql
- COMPILE_URL=algorithm-fighter-compile
depends_on:
- algorithm-fighter-mysql
deploy:
resources:
limits:
cpus: "1.5"
memory: 512M
restart: on-failure
algorithm-fighter-compile:
image: bery0na/algofi-compile:c9f965863abf8606ce7ecc6bd2b087b868a456cf
# build: ./kp-deploy-algofi-compile
ports:
- 9000:9000
networks:
- algofi-network
environment:
- DB_URL=algorithm-fighter-mysql
depends_on:
- algorithm-fighter-mysql
deploy:
resources:
limits:
cpus: "1.5"
memory: 512M
restart: on-failure
# algorithm-fighter-front:
# image: bery0na/algofi-front:dev
# # build: ./kp-deploy-algofi-front
# ports:
# - 3000:3000
# networks:
# - algofi-network
# depends_on:
# - algorithm-fighter-core
# - algorithm-fighter-compile
# deploy:
# resources:
# limits:
# cpus: "1"
# memory: 1g
# restart: on-failure
volumes:
mydata:
networks:
algofi-network: