-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (38 loc) · 867 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (38 loc) · 867 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
35
36
37
38
services:
mi2gc_api:
build:
context: ./
dockerfile: Dockerfile
args:
API_PORT: '$API_PORT'
hostname: 'mi2gc_api_${API_PORT}'
container_name: 'mi2gc_api_${API_PORT}'
ports:
- '${API_PORT}:${API_PORT}'
command: 'uvicorn main:app --host 0.0.0.0 --port ${API_PORT} --log-config /opt/mi2gc/log.ini'
env_file:
- .env
volumes:
- /var/log:/var/log
- /etc/timezone:/etc/timezone:by
- /etc/localtime:/etc/localtime:by
networks:
- mi2gc-net
depends_on:
- yagcc-api
yagcc-api:
container_name: YAGCC
restart: unless-stopped
image: lswiderski/yet-another-garmin-connect-client-api
ports:
- '${YAGCC_PORT}:80'
dns:
- 1.1.1.1
- 8.8.8.8
env_file:
- .env
networks:
- mi2gc-net
networks:
mi2gc-net:
driver: bridge