sample docker-compose.yml

This commit is contained in:
Gauthier 2019-08-22 08:41:51 +08:00 committed by GitHub
parent a188cf9598
commit 733c0eea4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

19
doc/docker-compose.yml Normal file
View file

@ -0,0 +1,19 @@
---
version: '3'
services:
nestor:
image: gotson/komga
container_name: komga
volumes:
- ~/opt/appdata/komga:/config
- /mnt/nas/media/Books/:/books
- /etc/timezone:/etc/timezone:ro
ports:
- 8090:8080
environment:
- SPRING_PROFILES_ACTIVE=prod
- SPRING_DATASOURCE_URL=jdbc:h2:/config/database.h2;DB_CLOSE_DELAY=-1
- KOMGA_ROOT_FOLDER=/books
- KOMGA_USER_PASSWORD=your-admin-password
- KOMGA_ADMIN_PASSWORD=your-user-password
restart: unless-stopped