ots/docker-compose.yml

25 lines
557 B
YAML
Raw Normal View History

2023-12-10 12:32:50 +00:00
version: "3.8"
services:
app:
build:
2024-08-27 16:17:26 +00:00
context: https://github.com/Luzifer/ots.git#v1.13.0
restart: always
environment:
# Optional, see "Customization" in README
#CUSTOMIZE: '/etc/ots/customize.yaml'
# See README for details
2023-12-10 12:32:50 +00:00
REDIS_URL: redis://redis:6379/0
# 168h = 1w
2023-12-10 12:32:50 +00:00
SECRET_EXPIRY: "604800"
# "mem" or "redis" (See README)
2023-12-10 12:32:50 +00:00
STORAGE_TYPE: redis
depends_on:
- redis
ports:
- 3000:3000
redis:
image: redis:alpine
restart: always
volumes:
- ./data:/data