aah/examples/codimd.yml

26 lines
476 B
YAML
Raw Normal View History

2023-08-07 07:43:50 +00:00
service:
app:
source:
image: ghcr.io/linuxserver/codimd
domains:
scratch:
port: 3000
depends_on:
- db
entry: |
#!/usr/bin/env bash
2023-08-07 23:36:33 +00:00
export DB_HOST="postgres://db"
2023-08-07 07:43:50 +00:00
exec npm run start
db:
source:
image: linuxserver/mariadb:latest
auto_secrets:
- MYSQL_ROOT_PASSWORD
- MYSQL_PASSWORD
environment:
MYSQL_DATABASE: codimd
MYSQL_USER: codimd
PGID: 1000
PUID: 1000