-
Notifications
You must be signed in to change notification settings - Fork 0
/
justfile
31 lines (23 loc) · 1.29 KB
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
set dotenv-load
build:
docker build -t ghcr.io/offbyone/sickchill:latest -f sickchill/Dockerfile .
run: build
docker run --env TS_AUTH_KEY=$TS_AUTH_KEY --rm -it \
-v '/dev/net/tun:/dev/net/tun' --cap-add=NET_ADMIN --cap-add=NET_RAW \
-v tailscale-sickchill:/var/lib/tailscale \
-v blob-media:/mnt/media \
-v /Users/offby1/projects/home/containers/sickchill/sickchill-20230530005247/:/var/lib/sickchill/ \
--name=sickchill ghcr.io/offbyone/sickchill:latest
shell: build
docker run --env TS_AUTH_KEY=$TS_AUTH_KEY --rm -it \
-v '/dev/net/tun:/dev/net/tun' --cap-add=NET_ADMIN --cap-add=NET_RAW \
-v tailscale-sickchill:/var/lib/tailscale \
-v blob-media:/mnt/media \
-v /Users/offby1/projects/home/containers/sickchill/sickchill-20230530005247/:/var/lib/sickchill/ \
--name=sickchill ghcr.io/offbyone/sickchill:latest /bin/bash
up: (svc-up "bitbucket") (svc-up "atuin") (svc-up "jackett")(svc-up "radarr") (svc-up "cobalt") (svc-up "sickchill") (svc-up "lidarr")
down: (svc-down "lidarr") (svc-down "sickchill") (svc-down "cobalt") (svc-down "radarr") (svc-down "jackett") (svc-down "atuin") (svc-down "bitbucket")
svc-up name:
cd {{ name }} && docker compose up -d
svc-down name:
cd {{ name }} && docker compose down