fixed Variablen, readme hinzugefügt

This commit is contained in:
Simon Zernisch
2022-06-02 01:17:27 +02:00
parent fff10cf58b
commit 3b185c7219
2 changed files with 14 additions and 11 deletions

5
ReadMe.md Normal file
View File

@@ -0,0 +1,5 @@
===== Joplin Server =====
default Login beim ersten Start:
admin@localhost - admin

View File

@@ -25,17 +25,13 @@ services:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.docker.network=proxy" - "traefik.docker.network=proxy"
- "traefik.http.routers.joplin.entrypoints=http"
- "traefik.http.routers.joplin.rule=Host(`notes.local.zernis.ch`)" - "traefik.http.routers.joplin.rule=Host(`notes.local.zernis.ch`)"
- "traefik.http.middlewares.joplin-https-redirect.redirectscheme.scheme=https" - "traefik.http.routers.joplin.entrypoints=https"
- "traefik.http.routers.joplin.middlewares=joplin-https-redirect" - "traefik.http.routers.joplin.tls=true"
- "traefik.http.routers.joplin-secure.entrypoints=https" - "traefik.http.middlewares.sslheader.headers.customrequestheaders.X-Forwarded-Proto = http"
- "traefik.http.routers.joplin-secure.rule=Host(`notes.local.zernis.ch`)" - "traefik.http.routers.joplin.service=joplin-server"
- "traefik.http.routers.joplin-secure.tls=true" - "traefik.http.services.joplin-server.loadbalancer.passhostheader=true"
- "traefik.http.routers.joplin-secure.service=gitea" - "traefik.http.services.joplin-server.loadbalancer.server.port=22300"
- "traefik.http.services.joplin.loadbalancer.server.port=22300"
# - 'traefik.http.routers.joplin-secure.middlewares=authelia@docker'
db: db:
image: postgres:13 image: postgres:13
@@ -48,6 +44,8 @@ services:
- POSTGRES_PASSWORD=${DB_PASS} - POSTGRES_PASSWORD=${DB_PASS}
- POSTGRES_USER=${DB_USER} - POSTGRES_USER=${DB_USER}
- POSTGRES_DB=${DB_NAME} - POSTGRES_DB=${DB_NAME}
ports:
- "5432:5432"
networks: networks:
proxy: proxy: