simplifying docker workflow

This commit is contained in:
2025-10-14 21:54:28 +03:00
parent 7c4c4fd620
commit 758a22f964
5 changed files with 49 additions and 10 deletions

View File

@@ -1,14 +1,17 @@
services:
server:
build: .
container_name: tingz-server
restart: unless-stopped
env_file: .env.development
env_file: .env
build:
context: .
args:
UID: ${UID}
GID: ${GID}
volumes:
- ./data:/data
- ./docs:/var/www/docs
- ./deploys:/var/www/deploys
ports:
- "${HOST}:${PORT}:8080"
user: "1000:1000"
user: "${UID}:${GID}"
restart: unless-stopped