-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
32 lines (32 loc) · 1.13 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
#------------------------------------------------------------------------------
# Compose file for running app locally
#------------------------------------------------------------------------------
version: "3.9"
#------------------------------------------------------------------------------
# Services to run
#------------------------------------------------------------------------------
services:
#----------------------------------------------------------------------------
# FastAPI
#----------------------------------------------------------------------------
gunicorn:
build:
context: .
dockerfile: docker/gunicorn/Dockerfile
image: kaatio_plan_validator_gunicorn:latest
ports:
- 8000:8000
#----------------------------------------------------------------------------
# Nginx
#----------------------------------------------------------------------------
nginx:
build:
context: .
dockerfile: docker/nginx/Dockerfile
depends_on:
- gunicorn
environment:
- GUNICORN_HOST=${GUNICORN_HOST:-gunicorn}
image: kaatio_plan_validator_nginx:latest
ports:
- 80:80