-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathdocker-compose.yml
37 lines (37 loc) · 967 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
version: "3.9"
services:
# run schematic APIs in a docker container without uWSGI
schematic:
build:
dockerfile: Dockerfile
container_name: schematic
entrypoint: python /usr/src/app/run_api.py
ports:
- "3001:3001"
volumes:
- .:/schematic
working_dir: /schematic
environment:
APP_HOST: "0.0.0.0"
APP_PORT: "3001"
SCHEMATIC_CONFIG: /schematic/config.yml
SCHEMATIC_CONFIG_CONTENT: "${SCHEMATIC_CONFIG_CONTENT}"
GE_HOME: /usr/src/app/great_expectations/
# run schematic APIs in a docker container with uWSGI and nginx
schematic-aws:
build:
context: ../schematic
dockerfile: schematic_api/Dockerfile
container_name: schematic-api-aws
image: sagebionetworks/schematic-aws-api:latest
restart: always
env_file:
- .env
networks:
- schematic
ports:
- "${USE_LISTEN_PORT}:80"
- "443:443"
networks:
schematic:
name: schematic