Netzwerk, pfade und name geändert
This commit is contained in:
parent
ae43b33556
commit
e551692a0c
|
@ -4,14 +4,12 @@
|
|||
version: '3'
|
||||
|
||||
networks:
|
||||
webproxy:
|
||||
external: true
|
||||
|
||||
backend-hedgedoc:
|
||||
default:
|
||||
proxynet:
|
||||
external: true
|
||||
|
||||
services:
|
||||
database:
|
||||
db:
|
||||
# Don't upgrade PostgreSQL by simply changing the version number
|
||||
# You need to migrate the Database to the new PostgreSQL version
|
||||
image: postgres:9.6-alpine
|
||||
|
@ -27,9 +25,9 @@ services:
|
|||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- POSTGRES_DB=${POSTGRES_DB}
|
||||
volumes:
|
||||
- /opt/appdata/hedgedoc/db:/var/lib/postgresql/data
|
||||
- /home/docker/data/hedgedoc/db:/var/lib/postgresql/data
|
||||
networks:
|
||||
- backend-hedgedoc
|
||||
default:
|
||||
restart: always
|
||||
|
||||
app:
|
||||
|
@ -40,7 +38,7 @@ services:
|
|||
# args:
|
||||
# - "VERSION=master"
|
||||
# - "HEDGEDOC_REPOSITORY=https://github.com/hedgedoc/hedgedoc.git"
|
||||
image: quay.io/hedgedoc/hedgedoc:1.9.2
|
||||
image: quay.io/hedgedoc/hedgedoc:1.9.7
|
||||
container_name: hedgedoc
|
||||
#mem_limit: 256mb # version 2 only
|
||||
#memswap_limit: 512mb # version 2 only
|
||||
|
@ -56,7 +54,7 @@ services:
|
|||
# - sqlite:///data/sqlite.db (NOT RECOMMENDED)
|
||||
# - For details see the official sequelize docs: http://docs.sequelizejs.com/en/v3/
|
||||
# - CMD_DB_URL=postgres://hedgedoc:password@database:5432/hedgedoc
|
||||
- CMD_DOMAIN=md.bmen.cc
|
||||
- CMD_DOMAIN=${URL}
|
||||
- CMD_URL_ADDPORT=false
|
||||
- CMD_PROTOCOL_USESSL=true
|
||||
#- CMD_EMAIL=false
|
||||
|
@ -69,7 +67,7 @@ services:
|
|||
- CMD_ALLOW_PDF_EXPORT=true
|
||||
- CMD_ALLOW_FREEURL=true
|
||||
volumes:
|
||||
- /opt/appdata/hedgedoc/uploads:/hedgedoc/public/uploads
|
||||
- /home/docker/data/hedgedoc:/hedgedoc/public/uploads
|
||||
# ports:
|
||||
# Ports that are published to the outside.
|
||||
# The latter port is the port inside the container. It should always stay on 3000
|
||||
|
@ -79,8 +77,10 @@ services:
|
|||
# - "127.0.0.1:3000:3000"
|
||||
# - "3000:3000"
|
||||
networks:
|
||||
- webproxy
|
||||
- backend-hedgedoc
|
||||
default:
|
||||
proxynet:
|
||||
aliases:
|
||||
- hedgedoc
|
||||
restart: always
|
||||
depends_on:
|
||||
- database
|
Loading…
Reference in New Issue