app-store/apps/wikijs/docker-compose.yml

61 lines
2.0 KiB
YAML
Raw Permalink Normal View History

2023-03-11 15:38:57 +00:00
version: '3.7'
2023-02-28 21:41:38 +00:00
2023-03-11 15:38:57 +00:00
services:
2023-02-28 21:41:38 +00:00
wikijs:
2023-03-11 15:38:57 +00:00
container_name: wikijs
image: ghcr.io/requarks/wiki:2.5.303
2023-02-28 21:41:38 +00:00
depends_on:
- wikijs-db
environment:
DB_TYPE: postgres
2023-03-11 15:38:57 +00:00
DB_HOST: wikijs-db
2023-02-28 21:41:38 +00:00
DB_PORT: 5432
DB_USER: wikijs
2023-03-11 15:38:57 +00:00
DB_PASS: ${WIKI_JS_DB_PASS}
2023-02-28 21:41:38 +00:00
DB_NAME: wiki
restart: unless-stopped
ports:
- ${APP_PORT}:3000
networks:
- tipi_main_network
labels:
feat: app configs local domains (#713) * feat(pairdrop): change config to support local domain * feat(paperless-ngx): change config to support local domain * feat(peppermint): change config to support local domain * feat(photoprism): change config to support local domain * feat(pihole): change config to support local domain * feat(plausible): change config to support local domain * feat(plex): change config to support local domain * feat(podfetch): change config to support local domain * feat(portainer): change config to support local domain * feat(privatebin): change config to support local domain * feat(prowlarr): change config to support local domain * feat(proxitok): change config to support local domain * feat(qbittorrent): change config to support local domain * feat(radarr): change config to support local domain * feat(readarr): change config to support local domain * feat(resilio-sync): change config to support local domain * feat(romm): change config to support local domain * feat(rss): change config to support local domain * feat(sabnzbd): change config to support local domain * feat(searxng): change config to support local domain * feat(send): change config to support local domain * feat(simplex-smp): change config to support local domain * feat(sonarr): change config to support local domain * feat(syncthing): change config to support local domain * feat(tasks-md): change config to support local domain * feat(tautulli): change config to support local domain * feat(teddit): change config to support local domain * feat(transmission): change config to support local domain * feat(tubearchivist): change config to support local domain * feat(umami): change config to support local domain * feat(uptime-kuma): change config to support local domain * feat(vaultwarden): change config to support local domain * feat(vikunja): change config to support local domain * feat(wg-easy): change config to support local domain * feat(wikijs): change config to support local domain * feat(wizarr): change config to support local domain * feat(your-spotify): change config to support local domain * chore: labels formatting issues
2023-06-18 16:02:29 +00:00
# Main
traefik.enable: true
traefik.http.middlewares.wikijs-web-redirect.redirectscheme.scheme: https
traefik.http.services.wikijs.loadbalancer.server.port: 3000
# Web
traefik.http.routers.wikijs-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.wikijs-insecure.entrypoints: web
traefik.http.routers.wikijs-insecure.service: wikijs
traefik.http.routers.wikijs-insecure.middlewares: wikijs-web-redirect
# Websecure
2023-02-28 21:41:38 +00:00
traefik.http.routers.wikijs.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.wikijs.entrypoints: websecure
traefik.http.routers.wikijs.service: wikijs
traefik.http.routers.wikijs.tls.certresolver: myresolver
feat: app configs local domains (#713) * feat(pairdrop): change config to support local domain * feat(paperless-ngx): change config to support local domain * feat(peppermint): change config to support local domain * feat(photoprism): change config to support local domain * feat(pihole): change config to support local domain * feat(plausible): change config to support local domain * feat(plex): change config to support local domain * feat(podfetch): change config to support local domain * feat(portainer): change config to support local domain * feat(privatebin): change config to support local domain * feat(prowlarr): change config to support local domain * feat(proxitok): change config to support local domain * feat(qbittorrent): change config to support local domain * feat(radarr): change config to support local domain * feat(readarr): change config to support local domain * feat(resilio-sync): change config to support local domain * feat(romm): change config to support local domain * feat(rss): change config to support local domain * feat(sabnzbd): change config to support local domain * feat(searxng): change config to support local domain * feat(send): change config to support local domain * feat(simplex-smp): change config to support local domain * feat(sonarr): change config to support local domain * feat(syncthing): change config to support local domain * feat(tasks-md): change config to support local domain * feat(tautulli): change config to support local domain * feat(teddit): change config to support local domain * feat(transmission): change config to support local domain * feat(tubearchivist): change config to support local domain * feat(umami): change config to support local domain * feat(uptime-kuma): change config to support local domain * feat(vaultwarden): change config to support local domain * feat(vikunja): change config to support local domain * feat(wg-easy): change config to support local domain * feat(wikijs): change config to support local domain * feat(wizarr): change config to support local domain * feat(your-spotify): change config to support local domain * chore: labels formatting issues
2023-06-18 16:02:29 +00:00
# Local domain
traefik.http.routers.wikijs-local-insecure.rule: Host(`wikijs.${LOCAL_DOMAIN}`)
traefik.http.routers.wikijs-local-insecure.entrypoints: web
traefik.http.routers.wikijs-local-insecure.service: wikijs
traefik.http.routers.wikijs-local-insecure.middlewares: wikijs-web-redirect
# Local domain secure
traefik.http.routers.wikijs-local.rule: Host(`wikijs.${LOCAL_DOMAIN}`)
traefik.http.routers.wikijs-local.entrypoints: websecure
traefik.http.routers.wikijs-local.service: wikijs
traefik.http.routers.wikijs-local.tls: true
2023-03-11 15:38:57 +00:00
wikijs-db:
container_name: wikijs-db
image: postgres:11-alpine
environment:
POSTGRES_DB: wiki
POSTGRES_PASSWORD: ${WIKI_JS_DB_PASS}
POSTGRES_USER: wikijs
logging:
driver: 'none'
restart: unless-stopped
networks:
- tipi_main_network
volumes:
- ${APP_DATA_DIR}/data/postgres:/var/lib/postgresql/data