Compare commits

...

2 Commits

Author SHA1 Message Date
Frederik Baerentsen
5467aeeb0a changed config to docker usage 2022-06-07 20:09:52 +02:00
Frederik Baerentsen
d9e66d2bb9 added docker-compose file 2022-06-07 20:09:14 +02:00
2 changed files with 13 additions and 2 deletions

View File

@ -1,8 +1,8 @@
import os
from werkzeug.security import generate_password_hash
#CONTENT_BASE_DIR = os.getenv("CONTENT_BASE_DIR", "/library")
CONTENT_BASE_DIR = os.getenv("CONTENT_BASE_DIR", "/home/drudoo/ComicsTest/Comics")
CONTENT_BASE_DIR = os.getenv("CONTENT_BASE_DIR", "/library")
#CONTENT_BASE_DIR = os.getenv("CONTENT_BASE_DIR", "/home/drudoo/ComicsTest/Comics")
TEENYOPDS_ADMIN_PASSWORD = os.getenv("TEENYOPDS_ADMIN_PASSWORD", None)
users = {}

11
docker-compose.yml Normal file
View File

@ -0,0 +1,11 @@
version: '3.3'
services:
comicopds:
image: comicopds
container_name: comicopds
restart: unless-stopped
ports:
- '5000:5000'
volumes:
- '/opt/data/Comics/ComicRack:/library:ro'
- '${PWD}/:/app'