Update joplin
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
services:
|
services:
|
||||||
joplin_db:
|
joplin_db:
|
||||||
image: docker.io/library/postgres:17.5
|
|
||||||
container_name: joplin_db
|
container_name: joplin_db
|
||||||
|
image: docker.io/library/postgres:17.5
|
||||||
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=${POSTGRES_USER}
|
- POSTGRES_USER=${POSTGRES_USER}
|
||||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||||
@@ -12,7 +13,6 @@ services:
|
|||||||
- ${DB_PORT}:5432
|
- ${DB_PORT}:5432
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
restart: unless-stopped
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -d ${POSTGRES_DB} -U ${POSTGRES_USER}"]
|
test: ["CMD-SHELL", "pg_isready -d ${POSTGRES_DB} -U ${POSTGRES_USER}"]
|
||||||
start_period: 10s
|
start_period: 10s
|
||||||
@@ -20,9 +20,10 @@ services:
|
|||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
||||||
joplin_server:
|
joplin:
|
||||||
image: docker.io/joplin/server:3.3.13
|
image: docker.io/joplin/server:3.3.13
|
||||||
container_name: joplin_server
|
container_name: joplin
|
||||||
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
joplin_db:
|
joplin_db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@@ -48,7 +49,6 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- frontend
|
- frontend
|
||||||
- backend
|
- backend
|
||||||
restart: unless-stopped
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
frontend:
|
frontend:
|
||||||
|
|||||||
Reference in New Issue
Block a user