Compose: use pre-built image on ghcr, pass .env

This commit is contained in:
DarkCat09
2023-09-25 12:54:39 +04:00
parent edf8a4ffdd
commit 51bcc663b6

View File

@@ -2,11 +2,9 @@ version: "3"
services:
txtdot:
build: .
image: ghcr.io/txtdot/txtdot:latest
ports:
- "8080:8080"
restart: unless-stopped
environment:
- HOST=0.0.0.0
- PORT=8080
- REVERSE_PROXY=true
volumes:
- ".env:/app/dist/.env"