chore: docker compose for coolify
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user