edited
This commit is contained in:
@@ -13,13 +13,15 @@ services:
|
||||
- "traefik.http.services.${JOPLIN_HOSTNAME}-svc.loadbalancer.server.port=22300"
|
||||
depends_on:
|
||||
- db
|
||||
networks:
|
||||
- ${JOPLINDB_NETWORk_ID}
|
||||
env_file:
|
||||
- path: ../../env/.env.joplin-srv.withdb
|
||||
- path: ../../env/joplin-srv-withdb.env
|
||||
db:
|
||||
image: ${JOPLINDB_IMAGE}:${JOPLINDB_TAG}
|
||||
container_name: ${JOPLINDB_CONTAINER_NAME}
|
||||
restart: ${JOPLINDB_RESTART_POLICY}
|
||||
env_file:
|
||||
- path: ../../env/.env.joplin-srv.db-cred
|
||||
- path: ../../env/joplin-srv-db-cred.env
|
||||
networks:
|
||||
- ${JOPLIN_NETWORk_ID}
|
||||
- ${JOPLINDB_NETWORk_ID}
|
||||
@@ -1,8 +1,9 @@
|
||||
name: joplinserver
|
||||
# Docker Compose v2.20 or greater required to use "include"
|
||||
include:
|
||||
#################### NETWORKS ####################
|
||||
- ../../compose/networks/proxy.yaml
|
||||
- ../../compose/networks/socket-proxy.yaml
|
||||
- ../../compose/networks/${JOPLIN_NETWORk_ID}.yaml
|
||||
- ../../compose/networks/${JOPLINDB_NETWORk_ID}.yaml
|
||||
#################### SERVICES ####################
|
||||
- ../../compose/postgres.yaml
|
||||
- ../../compose/joplin-server.yaml
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: joplinserver
|
||||
# Docker Compose v2.20 or greater required to use "include"
|
||||
include:
|
||||
#################### NETWORKS ####################
|
||||
- ../../compose/networks/proxy.yaml
|
||||
- ../../compose/networks/socket-proxy.yaml
|
||||
- ../../compose/networks/${JOPLIN_NETWORk_ID}.yaml
|
||||
#################### SERVICES ####################
|
||||
- ../../compose/joplin-server.yaml
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: joplinserver
|
||||
# Docker Compose v2.20 or greater required to use "include"
|
||||
include:
|
||||
#################### NETWORKS ####################
|
||||
- ../../compose/networks/proxy.yaml
|
||||
- ../../compose/networks/socket-proxy.yaml
|
||||
- ../../compose/networks/${JOPLIN_NETWORk_ID}.yaml
|
||||
#################### SERVICES ####################
|
||||
- ../../compose/joplin-server.yaml
|
||||
|
||||
@@ -5,14 +5,16 @@ services:
|
||||
# ports:
|
||||
# - "22300:22300"
|
||||
env_file:
|
||||
- path: ../../env/.env.joplin-srv.withdb
|
||||
- path: ../../env/joplin-srv-withdb.env
|
||||
networks:
|
||||
- ${JOPLINDB_NETWORk_ID}
|
||||
db:
|
||||
image: ${JOPLINDB_IMAGE}:${JOPLINDB_TAG}
|
||||
container_name: ${JOPLINDB_CONTAINER_NAME}
|
||||
restart: ${JOPLINDB_RESTART_POLICY}
|
||||
env_file:
|
||||
- path: ../../env/.env.joplin-srv.db-cred
|
||||
- path: ../../env/joplin-srv-db-cred.env
|
||||
# ports:
|
||||
# - "5432:5432"
|
||||
networks:
|
||||
- ${JOPLIN_NETWORk_ID}
|
||||
- ${JOPLINDB_NETWORk_ID}
|
||||
@@ -1,8 +1,8 @@
|
||||
# Docker Compose v2.20 or greater required to use "include"
|
||||
include:
|
||||
#################### NETWORKS ####################
|
||||
- ../../compose/networks/proxy.yaml
|
||||
- ../../compose/networks/socket-proxy.yaml
|
||||
- ../../compose/networks/${JOPLIN_NETWORk_ID}.yaml
|
||||
- ../../compose/networks/${JOPLINDB_NETWORk_ID}.yaml
|
||||
#################### SERVICES ####################
|
||||
- ../../compose/postgres.yaml
|
||||
- ../../compose/joplin-server.yaml
|
||||
|
||||
Reference in New Issue
Block a user