-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
60 lines (60 loc) · 1.3 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
version: '3'
services:
spillman-api-prod:
build:
context: .
dockerfile: Dockerfile-api
image: sccity/spillman-api:prod
container_name: spillman-api-prod
environment:
- TZ=America/Denver
ports:
- "8888:5000"
volumes:
- "$PWD/config/prod:/app/config"
restart: unless-stopped
user: "1435:1435"
deploy:
resources:
limits:
cpus: '0.5'
memory: 512M
spillman-api-dev:
build:
context: .
dockerfile: Dockerfile-api
image: sccity/spillman-api:dev
container_name: spillman-api-dev
environment:
- TZ=America/Denver
ports:
- "8889:5000"
volumes:
- "$PWD/config/dev:/app/config"
restart: unless-stopped
user: "1435:1435"
deploy:
resources:
limits:
cpus: '0.25'
memory: 256M
spillman-api-proxy:
build:
context: .
dockerfile: Dockerfile-proxy
image: sccity/spillman-api:proxy
container_name: spillman-api-proxy
environment:
- TZ=America/Denver
ports:
- "80:80"
volumes:
- "$PWD/config/nginx:/etc/nginx/conf.d"
restart: unless-stopped
extra_hosts:
- "host.docker.internal:host-gateway"
deploy:
resources:
limits:
cpus: '0.5'
memory: 512M