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* .aider*
mtrace.json mtrace.json
.env .env
*.env
.cursorrules .cursorrules
.cursor/ .cursor/
.windsurfrules .windsurfrules

View File

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