Compare commits

..

No commits in common. "756a343b372d0576ec8d031e8dca7d7dbc281a23" and "988f35cfb3ccbb6d10b62597ed380a45fa1f9edd" have entirely different histories.

2 changed files with 3 additions and 20 deletions

2
.gitignore vendored
View file

@ -1,2 +0,0 @@
config/
tailscale_var_lib/

View file

@ -1,18 +1,5 @@
---
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:
image: lscr.io/linuxserver/calibre-web:latest
container_name: calibre-web
@ -25,8 +12,6 @@ services:
volumes:
- ./config:/config
- /home/paul/Documents/Calibre_Library:/books
# ports:
# - 8083:8083
# - 80:80
network_mode: service:calibre-tailscale
restart: always
ports:
- 8083:8083
restart: unless-stopped