-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
28 lines (26 loc) · 852 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
28 lines (26 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
services:
app:
# image: nullata/webui-manager:latest
# pull_policy: always
build: .
restart: unless-stopped
ports:
- "${APP_PORT:-5000}:5000"
environment:
SECRET_KEY: ${SECRET_KEY}
APP_CREDENTIALS_KEY: ${APP_CREDENTIALS_KEY:-}
SESSION_COOKIE_NAME: ${SESSION_COOKIE_NAME:-webui_manager_session}
DB_HOST: ${DB_HOST:-localhost}
DB_PORT: ${DB_PORT:-3306}
DB_USER: ${DB_USER:-webui}
DB_PASSWORD: ${DB_PASSWORD}
DB_NAME: ${DB_NAME:-webui_manager}
AUTO_MIGRATE: ${AUTO_MIGRATE:-true}
# SQLite instead of MySQL: uncomment the two lines below (the DB_* vars
# above are then ignored) and the volumes sections to persist the file.
# DB_TYPE: sqlite
# DB_PATH: /data/webui_manager.sqlite
# volumes:
# - db_data:/data
# volumes:
# db_data: