fix joplin
This commit is contained in:
@@ -3,31 +3,40 @@
|
|||||||
# tags: joplin
|
# tags: joplin
|
||||||
# logo: svgs/joplin.png
|
# logo: svgs/joplin.png
|
||||||
# port: 22300
|
# port: 22300
|
||||||
version: '3'
|
|
||||||
services:
|
services:
|
||||||
db:
|
postgres:
|
||||||
image: 'postgres:16'
|
image: 'postgres:16'
|
||||||
volumes:
|
volumes:
|
||||||
- './data/postgres:/var/lib/postgresql/data'
|
- joplin-postgresql-data:/var/lib/postgresql/data'
|
||||||
restart: unless-stopped
|
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
|
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_64_POSTGRES}
|
||||||
- POSTGRES_USER=$SERVICE_USER_POSTGRES
|
- POSTGRES_USER=${SERVICE_USER_POSTGRES}
|
||||||
- POSTGRES_DB=joplin
|
- POSTGRES_DB=joplin
|
||||||
app:
|
healthcheck:
|
||||||
image: 'joplin/server:latest'
|
test:
|
||||||
depends_on:
|
- CMD
|
||||||
- db
|
- pg_isready
|
||||||
ports:
|
- -d
|
||||||
- '22300:22300'
|
- joplin
|
||||||
restart: unless-stopped
|
interval: 10s
|
||||||
environment:
|
timeout: 5s
|
||||||
- APP_PORT=22300
|
retries: 5
|
||||||
- APP_BASE_URL=$SERVICE_FQDN_JOPLIN
|
|
||||||
- DB_CLIENT=pg
|
joplin:
|
||||||
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
|
image: 'joplin/server:latest'
|
||||||
- POSTGRES_DATABASE=joplin
|
platform: 'linux/amd64'
|
||||||
- POSTGRES_USER=$SERVICE_USER_POSTGRES
|
depends_on:
|
||||||
- POSTGRES_PORT=5432
|
postgres:
|
||||||
- POSTGRES_HOST=db
|
condition: service_healthy
|
||||||
|
environment:
|
||||||
|
- SERVICE_FQDN_JOPLIN_22300
|
||||||
|
- APP_BASE_URL=${SERVICE_FQDN_JOPLIN}
|
||||||
|
- DB_CLIENT=pg
|
||||||
|
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_64_POSTGRES}
|
||||||
|
- POSTGRES_DATABASE=joplin
|
||||||
|
- POSTGRES_USER=${SERVICE_USER_POSTGRES}
|
||||||
|
- POSTGRES_PORT=5432
|
||||||
|
- POSTGRES_HOST=postgres
|
||||||
|
# Default login is "admin@localhost" and password "admin"
|
||||||
|
|
Reference in New Issue
Block a user