18 lines
486 B
YAML
18 lines
486 B
YAML
|
|
services:
|
||
|
|
app:
|
||
|
|
image: ${IMAGE}
|
||
|
|
container_name: scrawl
|
||
|
|
restart: unless-stopped
|
||
|
|
pull_policy: always
|
||
|
|
ports:
|
||
|
|
- "${HOST_PORT:-23235}:23235"
|
||
|
|
volumes:
|
||
|
|
# Named volume — just the SSH host key, so the server's fingerprint
|
||
|
|
# stays stable across redeploys instead of changing (and tripping
|
||
|
|
# every client's "REMOTE HOST IDENTIFICATION HAS CHANGED" warning)
|
||
|
|
# every time a new image ships.
|
||
|
|
- scrawl-data:/data
|
||
|
|
|
||
|
|
volumes:
|
||
|
|
scrawl-data:
|