Skip to content

Instantly share code, notes, and snippets.

@ethanjli
Last active April 5, 2023 05:09
Show Gist options
  • Save ethanjli/36a2192f75594532f9caac9260f343f2 to your computer and use it in GitHub Desktop.
Save ethanjli/36a2192f75594532f9caac9260f343f2 to your computer and use it in GitHub Desktop.
Docker Compose demo file for running pslocal on a PlanktoScope with Docker+Portainer
version: '3'
services:
server:
image: ghcr.io/sargassum-world/pslocal:0.3.8
volumes:
- server_data:/data
ports:
- 3000:3000
extra_hosts:
- host.docker.internal:host-gateway
networks:
- caddy
- bridge
environment:
DATABASE_URI: file:/data/db.sqlite3
LOCALHOST_DEFAULT: host.docker.internal
networks:
caddy:
external: true
bridge:
external: true
volumes:
server_data:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment