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
No known key found for this signature in database
GPG Key ID: 0A26CD5B3345D6E3

View File

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