optimized kwalyon's container building

This commit is contained in:
jsl12
2022-02-09 14:41:54 -06:00
parent 261b0d3c68
commit b82ab54ba6
4 changed files with 32 additions and 21 deletions

View File

@@ -4,13 +4,10 @@ services:
container_name: kwaylon
image: kwaylon:latest
build: ./
restart: unless-stopped
# restart: unless-stopped
network_mode: host
volumes:
# give access to the system time as read-only
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- /mnt/dietpi_userdata/kwaylon/src:/usr/app/src
- /mnt/dietpi_userdata/kwaylon/data:/usr/app/data
# - type: bind
# source: /mnt/dietpi_userdata/kwaylon/messages.db
# target: /usr/src/app/messages.db
- /mnt/dietpi_userdata/kwaylon:/usr/app