mirror of
https://github.com/jarulsamy/Plex-Bot.git
synced 2024-08-19 15:01:55 +02:00
✨ Makefile for dev and prod envs
This commit is contained in:
parent
5f90b17b0e
commit
56fd4aa5ab
17
Makefile
Normal file
17
Makefile
Normal file
@ -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
|
13
docker-compose_dev.yml
Normal file
13
docker-compose_dev.yml
Normal file
@ -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"
|
Loading…
Reference in New Issue
Block a user