22 lines
503 B
YAML
22 lines
503 B
YAML
services:
|
|
files-md:
|
|
build: .
|
|
image: files-md
|
|
ports:
|
|
- "80:8080"
|
|
# - "443:443"
|
|
volumes:
|
|
- storage:/app/storage
|
|
- tokens:/app/tokens
|
|
environment:
|
|
APP_URL: http://localhost
|
|
# API_URL: http://api.localhost # Uncomment if you want synchronization API
|
|
STORAGE_DIR: /app/storage
|
|
TOKENS_DIR: /app/tokens
|
|
CERT_DIR: "" # Provide a dir if you want HTTPS enabled, e.g. /opt/certs
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
storage:
|
|
tokens:
|