chore: docker compose for coolify

This commit is contained in:
Julien Calixte
2026-03-14 20:27:15 +01:00
parent 4e54d51d14
commit cedb29949c

View File

@@ -1,21 +1,17 @@
services:
jetstream:
image: docker.li212.fr/litenote:latest
build: .
restart: unless-stopped
command: ["sh", "-c", "deno task migrate && deno task jetstream:prod"]
env_file:
- .env
volumes:
- ${DATA_VOLUME:-data}:/data
api:
image: docker.li212.fr/litenote:latest
build: .
restart: unless-stopped
command: ["deno", "task", "server:prod"]
ports:
- "${PORT}:8080"
env_file:
- .env
expose:
- "8080"
volumes:
- ${DATA_VOLUME:-data}:/data