37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
# Fluksio in one container. From a clone of this repository:
|
|
#
|
|
# docker compose up -d
|
|
# docker compose logs fluksio # the admin password, printed once
|
|
#
|
|
# then open http://localhost:8080. Put your own settings in compose.override.yml,
|
|
# which Compose reads along with this file and git leaves alone. The operator
|
|
# stack under docker/ is a different file.
|
|
name: fluksio
|
|
|
|
services:
|
|
fluksio:
|
|
build:
|
|
context: .
|
|
dockerfile: backend/Dockerfile
|
|
args:
|
|
# Optional features, comma separated: mqtt, influx, email, sentry, ml,
|
|
# or server for all of them. Rebuild after a change: `docker compose up -d --build`.
|
|
EXTRAS: ""
|
|
image: fluksio:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8080:8000"
|
|
volumes:
|
|
- data:/data
|
|
environment:
|
|
# The address people and devices reach this instance at. Device links and
|
|
# mails are built from it.
|
|
FRONTEND_HOST: http://localhost:8080
|
|
# Schedules run in this timezone, such as Europe/Berlin.
|
|
TZ: UTC
|
|
# Where frames a flow only shows live are held.
|
|
shm_size: 128mb
|
|
|
|
volumes:
|
|
data:
|