19 lines
545 B
YAML
Raw Normal View History

2025-01-18 13:21:38 +01:00
services:
snek:
build: .
2025-01-18 13:23:23 +01:00
restart: always
2025-03-22 18:16:36 +01:00
privileged: true
2025-01-18 13:21:38 +01:00
ports:
- "8081:8081"
volumes:
- ./:/code
2025-03-22 19:57:39 +01:00
- /media/storage/snek.molodetz.nl/drive:/code/drive
- /media/storage/snek.molodetz.nl/drive:/drive
2025-03-22 18:16:36 +01:00
- /var/run/docker.sock:/var/run/docker.sock
2025-01-29 17:12:25 +01:00
environment:
2025-02-18 12:38:44 +01:00
- PYTHONDONTWRITEBYTECODE=1
- PYTHONUNBUFFERED=1
2025-02-21 00:24:44 +01:00
entrypoint: ["gunicorn", "-w", "1", "-k", "aiohttp.worker.GunicornWebWorker", "snek.gunicorn:app","--bind","0.0.0.0:8081"]
2025-02-19 23:20:10 +01:00
#entrypoint: ["python","-m","snek.app"]
2025-01-31 12:06:23 +01:00