Initial Commit
This commit is contained in:
@@ -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}
|
||||
9
docker/joplin-server/behind-proxy-with-db/compose.yml
Normal file
9
docker/joplin-server/behind-proxy-with-db/compose.yml
Normal 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
|
||||
|
||||
1
docker/joplin-server/behind-proxy-with-db/dcc.sh
Executable file
1
docker/joplin-server/behind-proxy-with-db/dcc.sh
Executable file
@@ -0,0 +1 @@
|
||||
docker compose --env-file ../../env/.env.stack.joplin-srv --env-file ../../env/.env.common config
|
||||
Reference in New Issue
Block a user