-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjustfile
56 lines (49 loc) · 1.89 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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
bitbucket-up: \
(svc-up "atuin") \
(svc-up "bitbucket") \
(svc-up "changedetection") \
(svc-up "cobalt") \
(svc-up "jackett") \
(svc-up "metrics") \
(svc-up "metrics/blackbox-exporter") \
(svc-up "metrics/plex-exporter") \
(svc-up "metrics/snmp-exporter") \
(svc-up "metrics/synology-monitor") \
(svc-up "metrics/udm-poller") \
(svc-up "radarr") \
(svc-up "sickchill")
bitbucket-down: \
(svc-down "atuin") \
(svc-down "bitbucket") \
(svc-down "changedetection") \
(svc-down "cobalt") \
(svc-down "jackett") \
(svc-down "metrics") \
(svc-down "metrics/blackbox-exporter") \
(svc-down "metrics/plex-exporter") \
(svc-down "metrics/snmp-exporter") \
(svc-down "metrics/synology-monitor") \
(svc-down "metrics/udm-poller") \
(svc-down "radarr") \
(svc-down "sickchill")
svc-up name:
cd {{ name }} && docker compose up --wait
svc-down name:
cd {{ name }} && docker compose down