25 lines
476 B
YAML
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
|