29 lines
668 B
YAML
Raw Normal View History

2025-01-18 12:21:38 +00:00
services:
snek:
build: .
2025-01-18 12:23:23 +00:00
restart: always
2025-01-18 12:21:38 +00:00
ports:
- "8081:8081"
volumes:
- ./:/code
2025-01-29 16:12:25 +00:00
environment:
- PYTHONDONTWRITEBYTECODE="1"
2025-01-31 11:17:10 +00:00
- PYTHONUNBUFFERED="1"
2025-01-24 15:33:27 +00:00
entrypoint: ["gunicorn", "-w", "1", "-k", "aiohttp.worker.GunicornWebWorker", "snek.gunicorn:app","--bind","0.0.0.0:8081"]
#["python","-m","snek.app"]
2025-01-31 11:06:23 +00:00
snecssh:
build:
context: .
dockerfile: DockerfileDrive
restart: always
ports:
- "2225:2225"
volumes:
- ./:/code
environment:
- PYTHONDONTWRITEBYTECODE="1"
2025-01-31 11:17:10 +00:00
- PYTHONUNBUFFERED="1"
2025-01-31 11:06:23 +00:00
entrypoint: ["python","-m","snekssh.app2"]
#["python","-m","snek.app"]