fix readarr config for traefik, and added jswiki with pg backend
This commit is contained in:
@@ -109,7 +109,6 @@ services:
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.enable=true"
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.readarr.rule=Host(`rad.depaoli.id.au`)"
|
||||
- "traefik.http.routers.readarr.rule=PathPrefix(`/readarr/`)"
|
||||
- "traefik.http.routers.readarr.entrypoints=web"
|
||||
volumes:
|
||||
@@ -657,3 +656,41 @@ services:
|
||||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||
- "/etc/localtime:/etc/localtime:ro"
|
||||
|
||||
wikidb:
|
||||
image: postgres:11-alpine
|
||||
container_name: wikidb
|
||||
environment:
|
||||
POSTGRES_DB: wiki
|
||||
POSTGRES_PASSWORD: testthisthing
|
||||
POSTGRES_USER: wikijs
|
||||
logging:
|
||||
driver: "none"
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- "/srv/docker/container/wikidb/:/var/lib/postgresql/data"
|
||||
- "/etc/localtime:/etc/localtime:ro"
|
||||
|
||||
wiki:
|
||||
image: requarks/wiki:2
|
||||
container_name: wiki
|
||||
depends_on:
|
||||
- wikidb
|
||||
environment:
|
||||
DB_TYPE: postgres
|
||||
DB_HOST: wikidb
|
||||
DB_PORT: 5432
|
||||
DB_USER: wikijs
|
||||
DB_PASS: testthisthing
|
||||
DB_NAME: wiki
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- "/etc/localtime:/etc/localtime:ro"
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.enable=true"
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.wiki.rule=Host(`wiki.depaoli.id.au`)"
|
||||
- "traefik.http.routers.wiki.tls=true"
|
||||
- "traefik.http.routers.wiki.entrypoints=secureweb"
|
||||
|
||||
Reference in New Issue
Block a user