forked from 14790897/handwriting-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (32 loc) · 738 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (32 loc) · 738 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
services:
frontend:
image: 14790897/frontend-handwriting:latest
ports:
- "2345:80"
depends_on:
- backend
cpu_count: 1
cpu_quota: 50000
cpu_period: 100000
mem_limit: 800m
memswap_limit: 1600m
backend:
image: 14790897/backend-handwriting:latest
ports:
- "127.0.0.1:5000:5000"
volumes:
- ./ttf_files:/app/font_assets
- ./logs:/app/logs
cpu_count: 1
cpu_quota: 80000
cpu_period: 100000
mem_limit: 1500m
memswap_limit: 4000m
# db:
# image: 14790897/mysql-handwriting:latest
# command: --default-authentication-plugin=mysql_native_password
# restart: always
# ports:
# - "3306:3306"
# networks:
# - mynetwork