working book and caddy
This commit is contained in:
33
compose.yaml
33
compose.yaml
@@ -31,7 +31,7 @@ services:
|
||||
#tty: true
|
||||
restart: always
|
||||
# Comment following line to use flask (1worker, dev), uncomment to use uwsgi (wsgi)
|
||||
command: ["uwsgi", "--http", "0.0.0.0:8000", "--master", "-p", "4", "--buffer-size", "16384", "--limit-as", "2048", "-w", "microblog:app"]
|
||||
#command: ["uwsgi", "--http", "0.0.0.0:8000", "--master", "-p", "4", "--buffer-size", "16384", "--limit-as", "2048", "-w", "microblog:app"]
|
||||
container_name: backend
|
||||
environment:
|
||||
- MYSQL_USER=flasku
|
||||
@@ -144,15 +144,44 @@ services:
|
||||
# Replace my paths (prior to the colons) with your own
|
||||
volumes:
|
||||
- ./stump:/config
|
||||
- /mnt/hub:/data
|
||||
- /mnt/hub/rocky-remote/st/rockybookshare/:/rocky-remote
|
||||
- /mnt/hub/rocky-remote/st/briebookshare/:/rocky-redundant
|
||||
- /mnt/hub/brie-remote/st/bookshare:/brie-remote
|
||||
#ports:
|
||||
# - 10801:10801
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- STUMP_ENABLE_UPLOAD=true
|
||||
- ENABLE_KOREADER_SYNC=true
|
||||
- ENABLE_OPDS_PROGRESSION=true
|
||||
- STUMP_MAX_SCANNER_CONCURRENCY=2
|
||||
- STUMP_MAX_THUMBNAIL_CONCURRENCY=1
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- frontnet
|
||||
- backnet
|
||||
|
||||
kavita:
|
||||
image: jvmilazz0/kavita:latest # Using the stable branch from the official dockerhub repo.
|
||||
container_name: kavita
|
||||
volumes:
|
||||
#- /your/path/to/manga:/manga
|
||||
#- /your/path/to/comics:/comics
|
||||
- /mnt/hub/rocky-remote/st/rockybookshare/:/rocky-remote
|
||||
- /mnt/hub/rocky-remote/st/briebookshare/:/rocky-redundant
|
||||
- /mnt/hub/brie-remote/st/bookshare/:/brie-remote
|
||||
- ./kavita:/kavita/config # /kavita/config must not be changed
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=UTC
|
||||
#ports:
|
||||
# - "5000:5000"
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- frontnet
|
||||
- backnet
|
||||
|
||||
sshtun:
|
||||
build:
|
||||
|
||||
Reference in New Issue
Block a user