new services + proxy network rework

This commit is contained in:
2025-10-13 15:09:05 +02:00
parent aed7d849be
commit ccb4dbc2f3
26 changed files with 287 additions and 37 deletions

View File

@@ -22,19 +22,20 @@ services:
image: postgres:16
volumes:
- /zstore/Docker-volumes/Joplin/postgres:/var/lib/postgresql/data
ports:
- 5432:5432
# ports:
# - 5432:5432
restart: unless-stopped
environment:
- POSTGRES_PASSWORD=lachim23
- POSTGRES_USER=joplin
- POSTGRES_DB=joplin
app:
container_name: joplin
image: joplin/server:latest
depends_on:
- db
ports:
- 22300:22300
# ports:
# - 22300:22300
restart: unless-stopped
environment:
- APP_PORT=22300
@@ -45,3 +46,8 @@ services:
- POSTGRES_USER=joplin
- POSTGRES_PORT=5432
- POSTGRES_HOST=db
networks:
default:
external: true
name: proxy