26 lines
479 B
YAML
26 lines
479 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://name2"
|
||
|
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
|