Web

Docker Deployment

Using Compose

services:
  olived-web:
    container_name: olived-web
    image: olivedapp/olived-web:latest
    pull_policy: always
    environment:
      - PUID=1000
      - PGID=1000
    ports: 
      - "9843:9843"
    volumes:
      - $PWD/olivedpro_downloads:/olivedapp/olivedpro_downloads
      - $PWD/.olivedpro:/olivedapp/.olivedpro

Using Run Command

docker run -d \
  --name olived-web \
  --pull always \
  -e PUID=1000 \
  -e PGID=1000 \
  -p 9843:9843 \
  -v $PWD/olivedpro_downloads:/olivedapp/olivedpro_downloads \
  -v $PWD/.olivedpro:/olivedapp/.olivedpro \
  olivedapp/olived-web:latest

Detailed Explanation

When using volumes (-v flags), permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user PUID and group PGID.

Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.

In this instance PUID=1000 and PGID=1000, to find yours use id your_user as below:

id your_user

Example output:

uid=1000(your_user) gid=1000(your_user) groups=1000(your_user)

Executable File

After execution, access at http://localhost:9843/.

Unable to Run on Windows

If Windows prompts that the app cannot be recognized, click "More info," then click the "Run anyway" button.

Unable to Run on MacOS

In general, unable to open or prompted as insecure, navigate to "Security & Privacy" in "Privacy & Security," select "Allow apps downloaded from: Anywhere." When "app is damaged" is displayed:

  1. Open your terminal
  2. Enter the following command, then press Enter. Note: Replace /Applications/xxxx.app with your App path, and the app names cannot contain spaces between them. If there are spaces, you can rename them first, execute the command, and then change them back.
sudo xattr -d com.apple.quarantine /Applications/xxxx.app
  1. Restart the App to use it.