-
Notifications
You must be signed in to change notification settings - Fork 19
/
docker-compose.yml
57 lines (53 loc) · 1.34 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
version: '3.7'
services:
python-backend:
image: "ghcr.io/flightaware/aeroapps/python-backend:${AEROAPPS_VERSION:-latest}"
profiles: ["python"]
build:
context: .
dockerfile: backend/python/Dockerfile
networks:
internal:
aliases:
- fids-backend
environment:
- AEROAPI_KEY=${AEROAPI_KEY:?AEROAPI_KEY variable must be set}
- CACHE_TIME=${CACHE_TIME:-300}
logging:
driver: "json-file"
options:
max-size: "10mb"
max-file: "5"
java-backend:
image: "ghcr.io/flightaware/aeroapps/java-backend:${AEROAPPS_VERSION:-latest}"
profiles: ["java"]
build:
context: .
dockerfile: backend/java/Dockerfile
networks:
internal:
aliases:
- fids-backend
environment:
- AEROAPI_KEY=${AEROAPI_KEY:?AEROAPI_KEY variable must be set}
- CACHE_TIME=${CACHE_TIME:-300}
logging:
driver: "json-file"
options:
max-size: "10mb"
max-file: "5"
fids-frontend:
image: "ghcr.io/flightaware/fids_frontend/fids-frontend:${FIDS_VERSION:-latest}"
profiles: ["python", "java"]
ports:
# Port upon which to serve webapp
- "80:80"
networks:
- internal
logging:
driver: "json-file"
options:
max-size: "10mb"
max-file: "5"
networks:
internal: