# PivBO container: minimal compose file for self-hosters. # # Usage: # docker compose up -d # start in the background # docker compose logs -f # tail the server log # docker compose down # stop (data volume persists) # docker compose pull # fetch the latest tag, then `up -d` again # # Then open http://localhost:5051/ in a browser. # # Podman users: `podman compose` accepts the same file. # # Want files in a bind-mount owned by your host user (not 1000)? # Add PUID and PGID under `environment:` to match: # environment: # - PUID=1001 # - PGID=1001 # The container's entrypoint chowns /data to that UID at startup, so # no host-side mkdir or chown is needed before `docker compose up`. services: pivbo: image: ghcr.io/mbelgin/pivbo:latest container_name: pivbo restart: unless-stopped ports: # host:container. Change the left side to remap to a different # host port if 5051 is already taken. - "5051:5051" volumes: # Named volume keeps simulations, prefs, drawings, and seeded # historical bars across container restarts and image upgrades. # Swap for a bind-mount (e.g. `./pivbo-data:/data`) if you'd # rather see the files on your host filesystem. - pivbo-data:/data volumes: pivbo-data: {}