ReMe/docker-compose.yml

24 lines
663 B
YAML

services:
reme:
image: ${REME_IMAGE:-reme:local}
build:
context: .
init: false # The image already runs tini.
user: "${REME_UID:-1000}:${REME_GID:-1000}"
ports:
- "${REME_BIND_ADDRESS:-127.0.0.1}:${REME_PUBLISHED_PORT:-2333}:${REME_PORT:-2333}"
volumes:
- type: bind
source: ${REME_DATA_DIR:-./.reme}
target: /data
bind:
create_host_path: false
env_file:
- path: ${REME_ENV_FILE:-.env}
required: false
environment:
REME_HOST: 0.0.0.0
REME_PORT: ${REME_PORT:-2333}
REME_WORKSPACE_DIR: /data
restart: unless-stopped
stop_grace_period: 60s