Initial Commit

This commit is contained in:
2025-02-05 20:29:47 +02:00
parent b765a8100c
commit ff55ea012d
28 changed files with 533 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
services:
joplin-server:
labels:
- "traefik.enable=true"
## HTTP Routers
- "traefik.http.routers.${JOPLIN_HOSTNAME}-rtr.entrypoints=https"
- "traefik.http.routers.${JOPLIN_HOSTNAME}-rtr.rule=Host(`${JOPLIN_HOSTNAME}.$DOMAINNAME1`)"
## Middlewares
# - "traefik.http.routers.${JOPLIN_HOSTNAME}-rtr.middlewares=chain-authelia@file"
- "traefik.http.routers.${JOPLIN_HOSTNAME}-rtr.middlewares=chain-no-auth@file"
## HTTP Services
- "traefik.http.routers.${JOPLIN_HOSTNAME}-rtr.service=${JOPLIN_HOSTNAME}-svc"
- "traefik.http.services.${JOPLIN_HOSTNAME}-svc.loadbalancer.server.port=22300"
depends_on:
- db
env_file:
- path: ../../env/.env.joplin-srv.withdb
db:
image: ${JOPLINDB_IMAGE}:${JOPLINDB_TAG}
container_name: ${JOPLINDB_CONTAINER_NAME}
restart: ${JOPLINDB_RESTART_POLICY}
env_file:
- path: ../../env/.env.joplin-srv.db-cred
networks:
- ${JOPLIN_NETWORk_ID}

View File

@@ -0,0 +1,9 @@
# Docker Compose v2.20 or greater required to use "include"
include:
#################### NETWORKS ####################
- ../../compose/networks/proxy.yaml
- ../../compose/networks/socket-proxy.yaml
#################### SERVICES ####################
- ../../compose/postgres.yaml
- ../../compose/joplin-server.yaml

View File

@@ -0,0 +1 @@
docker compose --env-file ../../env/.env.stack.joplin-srv --env-file ../../env/.env.common config