chore(docker): update .gitignore to exclude all .env files and modify dev.compose.yml to include env_file for development

This commit is contained in:
yusing
2025-09-14 13:47:02 +08:00
parent 2a08c55e39
commit 932c20f32d
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@@ -29,6 +29,7 @@ todo.md
.aider*
mtrace.json
.env
*.env
.cursorrules
.cursor/
.windsurfrules

View File

@@ -8,6 +8,7 @@ services:
- TARGET=godoxy
container_name: godoxy-proxy-dev
restart: unless-stopped
env_file: dev.env
environment:
TZ: Asia/Hong_Kong
API_ADDR: :8999
@@ -30,8 +31,7 @@ services:
- ./dev-data/error_pages:/app/error_pages:ro
- ./dev-data/data:/app/data
- ./dev-data/logs:/app/logs
depends_on:
- tinyauth
- ~/certs/myCA.pem:/etc/ssl/certs/ca.crt:ro
tinyauth:
image: ghcr.io/steveiliop56/tinyauth:v3
container_name: tinyauth