generated from Linkurious/docker-app-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (46 loc) · 1019 Bytes
/
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
---
version: '3.9'
services:
lke-server:
image: ${REPOSITORY}linkurious/lke-server:${LKE_SERVER_VERSION}
init: true
restart: unless-stopped
user: "${LKE_USER:-2013}:${LKE_GROUP:-2013}"
security_opt:
- no-new-privileges:true
env_file: ".env.lke-server.${RUN_ENV}"
deploy:
resources:
limits:
cpus: '2.00'
memory: 600M
reservations:
# cpus: '1.00'
memory: 200M
networks:
- lke_network
volumes:
- lke_data:/data
lke-frontend:
image: ${REPOSITORY}linkurious/lke-frontend:${LKE_FRONTEND_VERSION}
init: true
restart: unless-stopped
depends_on:
lke-server:
condition: service_started
deploy:
resources:
limits:
cpus: '0.50'
memory: 50M
reservations:
# cpus: '0.25'
memory: 20M
security_opt:
- no-new-privileges:true
networks:
- lke_network
volumes:
lke_data:
networks:
lke_network: