diff --git a/docker/compose/joplin-server.yaml b/docker/compose/joplin-server.yaml index c84fb0e..d1a5816 100644 --- a/docker/compose/joplin-server.yaml +++ b/docker/compose/joplin-server.yaml @@ -1,18 +1,18 @@ services: - joplin-server: - image: ${JOPLIN_IMAGE}:${JOPLIN_TAG} - container_name: ${JOPLIN_CONTAINER_NAME} - restart: ${JOPLIN_RESTART_POLICY} - security_opt: - - no-new-privileges:true - networks: - - ${JOPLIN_NETWORk_ID} -# ports: -# - "22300:22300" - environment: - UID: ${UID:-1000} - GID: ${GID:-1000} - TZ: ${TZ} - env_file: - - path: ../env/.env.joplin-srv - - path: ../env/.env.joplin-srv.db-cred + joplin-server: + image: ${JOPLIN_IMAGE}:${JOPLIN_TAG} + container_name: ${JOPLIN_CONTAINER_NAME} + restart: ${JOPLIN_RESTART_POLICY} + security_opt: + - no-new-privileges:true + networks: + - ${JOPLIN_NETWORk_ID} +# ports: +# - "22300:22300" + environment: + UID: ${UID:-1000} + GID: ${GID:-1000} + TZ: ${TZ} + env_file: + - path: ../env/.env.joplin-srv + - path: ../env/.env.joplin-srv.db-cred diff --git a/docker/compose/postgres.yaml b/docker/compose/postgres.yaml index e3df897..70bf8f8 100644 --- a/docker/compose/postgres.yaml +++ b/docker/compose/postgres.yaml @@ -1,13 +1,13 @@ services: - db: - image: postgres:16 - restart: unless-stopped - security_opt: - - no-new-privileges:true - volumes: - - ${DOCKERDIR}/${COMPOSE_PROJECT_NAME}/db:/var/lib/postgresql/data - #ports: - # - "5432:5432" - healthcheck: - test: [ "CMD-SHELL", "pg_isready -U postgres" ] - interval: 3s \ No newline at end of file + db: + image: postgres:16 + restart: unless-stopped + security_opt: + - no-new-privileges:true + volumes: + - ${DOCKERDIR}/${COMPOSE_PROJECT_NAME}/db:/var/lib/postgresql/data + #ports: + # - "5432:5432" + healthcheck: + test: [ "CMD-SHELL", "pg_isready -U postgres" ] + interval: 3s \ No newline at end of file