-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (44 loc) · 863 Bytes
/
docker-compose.yml
File metadata and controls
47 lines (44 loc) · 863 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
46
47
version: '3.0'
services:
app:
restart: always
container_name: concoder-app
image: binimini/concoder-server:latest
ports:
- 8080:8080
env_file:
- .env
depends_on:
- mysql
- redis
deploy:
resources:
limits:
memory: 800M
mysql:
restart: always
container_name: concoder-mysql
image: mysql:8.0
ports:
- 3306:3306
volumes:
- concoder-volume:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: ${SPRING_DATABASE_PASSWORD}
MYSQL_DATABASE: ${SPRING_DATABASE_SCHEMA}
deploy:
resources:
limits:
memory: 900M
redis:
restart: always
container_name: concoder-redis
image: redis:6.0
ports:
- 6379:6379
deploy:
resources:
limits:
memory: 200M
volumes:
concoder-volume: