Merge pull request #299 from sfeakes/Development

Create docker-compose.yml
pull/312/head
sfeakes 2024-05-23 15:47:54 -05:00 committed by GitHub
commit 322924617d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
services:
aqualinkd:
#image: sfeakes/aqualinkd:latest
build:
context: https://github.com/sfeakes/AqualinkD-Docker.git#main
ports:
- "6171:80"
volumes:
- type: bind # AqualinkD config directory
source: ./config
target: /aquadconf
read_only: false
- type: bind # systemd logging
source: /var/run/systemd/journal/socket
target: /var/run/systemd/journal/socket
read_only: false
- type: bind # systemd logging
source: /var/log/journal
target: /var/log/journal
read_only: true
- type: bind # time
source: /etc/localtime
target: /etc/localtime
read_only: true
- type: bind # timezone
source: /etc/timezone
target: /etc/timezone
read_only: true
devices: # Map
- "/dev/ttyUSB0:/dev/ttyUSB0"
logging:
driver: journald