chore(containers): add makefiles to everyone

This commit is contained in:
Michele Cereda
2024-05-10 17:06:58 +02:00
parent e405486268
commit a14e729f72
5 changed files with 57 additions and 2 deletions

12
docker/syncthing/Makefile Normal file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env make
pre-flight:
@mkdir -pv 'config' 'data'
firewalld-open: ${shell which 'firewall-cmd'}
@sudo firewall-cmd --permanent --add-service 'syncthing'
@sudo firewall-cmd --permanent --add-service 'syncthing-gui'
@sudo firewall-cmd --reload
syncthing-go-brrr: ${shell which 'docker-compose'} pre-flight
@docker-compose up -d

View File

@@ -3,7 +3,7 @@
version: "3"
services:
syncthing:
image: syncthing/syncthing:1.27.3
image: syncthing/syncthing:1.27.7
container_name: syncthing
hostname: ${HOSTNAME}
environment: