Pfad in zur env datei in jedem Service angegeben
This commit is contained in:
parent
f7eb11eda5
commit
3809d38476
|
@ -10,10 +10,6 @@ networks:
|
|||
|
||||
services:
|
||||
|
||||
base:
|
||||
env_file:
|
||||
- /home/docker/env/hedgedoc.env
|
||||
|
||||
db:
|
||||
# Don't upgrade PostgreSQL by simply changing the version number
|
||||
# You need to migrate the Database to the new PostgreSQL version
|
||||
|
@ -25,6 +21,7 @@ services:
|
|||
#tmpfs:
|
||||
# - /run/postgresql:size=512K
|
||||
# - /tmp:size=256K
|
||||
env_file: /home/docker/env/hedgedoc.env
|
||||
environment:
|
||||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
|
@ -45,6 +42,7 @@ services:
|
|||
# - "HEDGEDOC_REPOSITORY=https://github.com/hedgedoc/hedgedoc.git"
|
||||
image: quay.io/hedgedoc/hedgedoc:1.9.7
|
||||
container_name: hedgedoc
|
||||
env_file: /home/docker/env/hedgedoc.env
|
||||
#mem_limit: 256mb # version 2 only
|
||||
#memswap_limit: 512mb # version 2 only
|
||||
#read_only: true # not supported in swarm mode, enable along with tmpfs
|
||||
|
|
Loading…
Reference in New Issue