Compare commits
2 commits
988f35cfb3
...
756a343b37
Author | SHA1 | Date | |
---|---|---|---|
756a343b37 | |||
7baf48bb03 |
2 changed files with 20 additions and 3 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
config/
|
||||||
|
tailscale_var_lib/
|
|
@ -1,5 +1,18 @@
|
||||||
---
|
---
|
||||||
services:
|
services:
|
||||||
|
calibre-tailscale:
|
||||||
|
container_name: calibre-tailscale
|
||||||
|
hostname: calibre-web # This will become the tailscale device name
|
||||||
|
image: ghcr.io/tailscale/tailscale:latest
|
||||||
|
volumes:
|
||||||
|
- "./tailscale_var_lib:/var/lib" # State data will be stored in this directory
|
||||||
|
- "/dev/net/tun:/dev/net/tun" # Required for tailscale to work
|
||||||
|
cap_add: # Required for tailscale to work
|
||||||
|
- net_admin
|
||||||
|
- sys_module
|
||||||
|
command: tailscaled
|
||||||
|
restart: always
|
||||||
|
|
||||||
calibre-web:
|
calibre-web:
|
||||||
image: lscr.io/linuxserver/calibre-web:latest
|
image: lscr.io/linuxserver/calibre-web:latest
|
||||||
container_name: calibre-web
|
container_name: calibre-web
|
||||||
|
@ -12,6 +25,8 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./config:/config
|
- ./config:/config
|
||||||
- /home/paul/Documents/Calibre_Library:/books
|
- /home/paul/Documents/Calibre_Library:/books
|
||||||
ports:
|
# ports:
|
||||||
- 8083:8083
|
# - 8083:8083
|
||||||
restart: unless-stopped
|
# - 80:80
|
||||||
|
network_mode: service:calibre-tailscale
|
||||||
|
restart: always
|
||||||
|
|
Loading…
Reference in a new issue