Your cart is currently empty!
lancache in docker with docker-compose
I like to have my docker containers triggered from a docker-compose file. What this means is that its easy to start them from vs code simply by right clicking and selecting “Compose Up”
I found this docker run command at the official documentation here:
https://lancache.net/docs/containers/monolithic/
docker run \
--restart unless-stopped \
--name lancache \
-v /cache/data:/data/cache \
-v /cache/logs:/data/logs \
-p 80:80 \
-p 443:443 \
lancachenet/monolithic:latest
With some tweaking now it looks like this
version: "2.1"
services:
plex:
image: lancachenet/monolithic:latest
container_name: lancache
ports:
- 100:80/tcp
- 444:443/tcp
volumes:
- /home/Documents/lancachedata/cache:/data/cache
- /home/Documents/lancachedata/logs:/data/logs
restart: unless-stopped
Now its pretty easy to run this container up or down from vs code 👍
by
Tags:
Leave a Reply