-
Notifications
You must be signed in to change notification settings - Fork 23
Docker
Hosting Wrapperr using Docker is probably the easiest option.
Docker sets up the environment, but afterward I recommend reading the start of the 'Essential configuration options' section for an explanation of the Wrapperr functionality/admin page!
Docker images are pre-built, but you might want to change the Dockerfile. The pre-configured Dockerfile is in the docker folder of this repo. It's a really simple configuration, so modify it as preferred and then build it. If you just want to launch the pre-built image of Wrapperr, simply execute this docker command, pulling the image from Docker Hub and exposing it on port 8282
:
$ docker run -p '8282:8282' --name 'wrapperr' ghcr.io/aunefyren/wrapperr:latest
It should now be accessible on: http://localhost:8282
If you use Docker Compose you could do something like this in your docker-compose.yml
:
version: '3.3'
services:
wrapperr:
ports:
- '8282:8282'
container_name: wrapperr
image: ghcr.io/aunefyren/wrapperr:latest
restart: unless-stopped
And launch the file with:
$ docker-compose up
If you want to mount a volume for the config folder, you can do something like this:
version: '3.3'
services:
wrapperr:
ports:
- '8282:8282'
container_name: wrapperr
image: ghcr.io/aunefyren/wrapperr:latest
restart: unless-stopped
volumes:
- './my-folder:/app/config'
Afterward, remember to chmod
the mounted folder on the host so the Wrapperr can write to it:
$ sudo chmod -R 0777 ./my-folder