Create docker-compose.yml

Add docker-compose
This commit is contained in:
M0VUB 2022-01-24 00:26:42 +00:00 committed by GitHub
parent f01d88bd63
commit a691c6e05f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

14
docker-compose.yml Normal file
View File

@ -0,0 +1,14 @@
version: '3.3'
services:
hblink3:
container_name: hblink
volumes:
- '/etc/hblink3/hblink.cfg:/opt/hblink3/hblink.cfg'
- '/var/log/hblink/hblink.log:/opt/hblink3/hblink.log'
- '/etc/hblink3/rules.py:/opt/hblink3/rules.py'
ports:
- '62030:62030/udp'
- '62031-62051:62031-62051/udp'
- '4321:4321/tcp'
image: 'shaymez/hblink3:latest'
restart: "unless-stopped"