aah/examples/codimd.yml
2023-08-07 18:36:33 -05:00

25 lines
476 B
YAML

service:
app:
source:
image: ghcr.io/linuxserver/codimd
domains:
scratch:
port: 3000
depends_on:
- db
entry: |
#!/usr/bin/env bash
export DB_HOST="postgres://db"
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