test of variable interpretation
This commit is contained in:
parent
360f41a980
commit
25d2b92acd
1 changed files with 37 additions and 0 deletions
37
internals/wikijs/docker-compose.yaml
Normal file
37
internals/wikijs/docker-compose.yaml
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
services:
|
||||||
|
db:
|
||||||
|
image: postgres:14
|
||||||
|
environment:
|
||||||
|
POSTGRES_DB: WIKIJS_DB_NAME
|
||||||
|
POSTGRES_PASSWORD: WIKIJS_DB_PASSWORD
|
||||||
|
POSTGRES_USER: WIKIJS_DB_USER
|
||||||
|
logging:
|
||||||
|
driver: "none"
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- db-data:/var/lib/postgresql/data
|
||||||
|
|
||||||
|
server:
|
||||||
|
image: ghcr.io/requarks/wiki:2.5.305
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
environment:
|
||||||
|
DB_TYPE: postgres
|
||||||
|
DB_HOST: db
|
||||||
|
DB_PORT: 5432
|
||||||
|
DB_USER: WIKIJS_DB_USER
|
||||||
|
DB_PASS: WIKIJS_DB_PASSWORD
|
||||||
|
DB_NAME: WIKIJS_DB_NAME
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "8082:3000"
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.wikijs.entryPoints=websecure"
|
||||||
|
- "traefik.http.routers.wikijs.rule=Host(`doc.net.enpls.org`)"
|
||||||
|
- "traefik.http.routers.wikijs.tls=true"
|
||||||
|
- "traefik.http.routers.wikijs.tls.certresolver=defaultacme"
|
||||||
|
- "traefik.http.routers.wikijs.middlewares=proxyHeader@file,proxyError@file"
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
db-data:
|
Loading…
Reference in a new issue