feat: add nginx reverse proxy stack

Add Nginx and acme.sh for centralized HTTPS termination and certificate management.

Move Gitea, Immich, and OpenList to the shared proxy network and remove their direct host port exposure.
This commit is contained in:
lingkai5wu committed 2026-08-16 11:58:58 +08:00
1 parent 6da8327572
commit 6f18aa9c06
5 files changed
+66 -8

No files matched your search

+7 -3
View File
@@ -17,8 +17,9 @@ services:
create_host_path: false
env_file:
- .env
ports:
- '0.0.0.0:2283:2283'
networks:
- default
- proxy
restart: unless-stopped
healthcheck:
disable: false
@@ -58,7 +59,7 @@ services:
POSTGRES_DB: ${DB_DATABASE_NAME}
POSTGRES_INITDB_ARGS: --data-checksums
ports:
- '127.0.0.1:5432:5432'
- "127.0.0.1:5432:5432"
restart: unless-stopped
healthcheck:
disable: false
@@ -85,3 +86,6 @@ services:
reservations:
cpus: "0.1"
memory: 64M
networks:
proxy:
external: true