docker-compose.yaml (view raw)
1services:
2 app:
3 build: .
4 image: artbound_python:latest
5 container_name: artbound-python
6 ports:
7 - 127.0.0.1:1111:80
8 volumes:
9 - /etc/localtime:/etc/localtime:ro
10 - cache:/app/artbound_python/static/res/cache/
11 - ${PWD}/.env:/app/.env
12 - ${PWD}/credentials.json:/app/credentials.json
13 - ${PWD}/token.json:/app/token.json
14 #healthcheck:
15 # test: wget -nv --tries=1 --spider http://localhost || exit 1
16 # interval: 30s
17 # timeout: 5s
18 # retries: 2
19volumes:
20 cache: