komga_docker-compose.yml
· 632 B · YAML
Raw
---
version: '3.3'
services:
komga:
image: gotson/komga
container_name: komga
volumes:
- type: bind
source: /home/user/komga/
target: /config
- type: bind
source: /home/user/Books
target: /data
- type: bind
source: /etc/timezone #alternatively you can use a TZ environment variable, like TZ=Europe/London
target: /etc/timezone
read_only: true
ports:
- 25600:25600
user: "1000:1000"
# remove the whole environment section if you don't need it
# environment:
# - <ENV_VAR>=<extra configuration>
restart: unless-stopped
| 1 | --- |
| 2 | version: '3.3' |
| 3 | services: |
| 4 | komga: |
| 5 | image: gotson/komga |
| 6 | container_name: komga |
| 7 | volumes: |
| 8 | - type: bind |
| 9 | source: /home/user/komga/ |
| 10 | target: /config |
| 11 | - type: bind |
| 12 | source: /home/user/Books |
| 13 | target: /data |
| 14 | - type: bind |
| 15 | source: /etc/timezone #alternatively you can use a TZ environment variable, like TZ=Europe/London |
| 16 | target: /etc/timezone |
| 17 | read_only: true |
| 18 | ports: |
| 19 | - 25600:25600 |
| 20 | user: "1000:1000" |
| 21 | # remove the whole environment section if you don't need it |
| 22 | # environment: |
| 23 | # - <ENV_VAR>=<extra configuration> |
| 24 | restart: unless-stopped |