diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a8ddb8e --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +.PHONY: help pull build clean +.DEFAULT_GOAL: build + +help: + @echo "make pull" + @echo " Start docker container with pull" + @echo "make build" + @echo " Start docker container rebuilding container" + +pull: + docker-compose up + +build: + docker-compose -f docker-compose_dev.yml up --build + +clean: + docker system prune -a diff --git a/docker-compose_dev.yml b/docker-compose_dev.yml new file mode 100644 index 0000000..9607413 --- /dev/null +++ b/docker-compose_dev.yml @@ -0,0 +1,13 @@ +version: "3" +services: + plex-bot: + container_name: "PlexBot" + build: . + environment: + - PUID=1000 + - PGID=1000 + - TZ=America/Denver + # Required dir for configuration files + volumes: + - "./config:/config:ro" + restart: "unless-stopped"