ots/docker-compose.yml
2024-11-21 12:27:19 +01:00

25 lines
557 B
YAML

version: "3.8"
services:
app:
build:
context: https://github.com/Luzifer/ots.git#v1.14.0
restart: always
environment:
# Optional, see "Customization" in README
#CUSTOMIZE: '/etc/ots/customize.yaml'
# See README for details
REDIS_URL: redis://redis:6379/0
# 168h = 1w
SECRET_EXPIRY: "604800"
# "mem" or "redis" (See README)
STORAGE_TYPE: redis
depends_on:
- redis
ports:
- 3000:3000
redis:
image: redis:alpine
restart: always
volumes:
- ./data:/data