Compare commits

..

2 commits

Author SHA1 Message Date
756a343b37 Moving container to tailscale container 2024-10-12 03:41:36 -05:00
7baf48bb03 changing port to 80 2024-10-12 03:31:45 -05:00
2 changed files with 20 additions and 3 deletions

2
.gitignore vendored Normal file
View file

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

View file

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