fix file tabulators

This commit is contained in:
2025-02-07 11:12:24 +02:00
parent a8cf3f1bba
commit 84f89dbab6
2 changed files with 29 additions and 29 deletions

View File

@@ -1,18 +1,18 @@
services: services:
joplin-server: joplin-server:
image: ${JOPLIN_IMAGE}:${JOPLIN_TAG} image: ${JOPLIN_IMAGE}:${JOPLIN_TAG}
container_name: ${JOPLIN_CONTAINER_NAME} container_name: ${JOPLIN_CONTAINER_NAME}
restart: ${JOPLIN_RESTART_POLICY} restart: ${JOPLIN_RESTART_POLICY}
security_opt: security_opt:
- no-new-privileges:true - no-new-privileges:true
networks: networks:
- ${JOPLIN_NETWORk_ID} - ${JOPLIN_NETWORk_ID}
# ports: # ports:
# - "22300:22300" # - "22300:22300"
environment: environment:
UID: ${UID:-1000} UID: ${UID:-1000}
GID: ${GID:-1000} GID: ${GID:-1000}
TZ: ${TZ} TZ: ${TZ}
env_file: env_file:
- path: ../env/.env.joplin-srv - path: ../env/.env.joplin-srv
- path: ../env/.env.joplin-srv.db-cred - path: ../env/.env.joplin-srv.db-cred

View File

@@ -1,13 +1,13 @@
services: services:
db: db:
image: postgres:16 image: postgres:16
restart: unless-stopped restart: unless-stopped
security_opt: security_opt:
- no-new-privileges:true - no-new-privileges:true
volumes: volumes:
- ${DOCKERDIR}/${COMPOSE_PROJECT_NAME}/db:/var/lib/postgresql/data - ${DOCKERDIR}/${COMPOSE_PROJECT_NAME}/db:/var/lib/postgresql/data
#ports: #ports:
# - "5432:5432" # - "5432:5432"
healthcheck: healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres" ] test: [ "CMD-SHELL", "pg_isready -U postgres" ]
interval: 3s interval: 3s