Sign inSign up

svenwal/crispr-client

By svenwal

•Updated 17 days ago

Crispr frontend — Kong feasibility workshops and PoV tracking (nginx serving the React app)

Image
0

777

svenwal/crispr-client repository overview

⁠Crispr — client

Frontend for Crispr, a browser-based multi-user app for running Kong Technical Feasibility Workshops (TFW) and tracking Proof of Value (PoV) progress. An nginx image serving the built React app and proxying /api and /socket to the backend.

Requires crispr-server⁠.

📖 Full documentation: https://github.com/svenwal/crispr⁠

⁠Tags

TagMeaning
latestNewest stable release
beta-latestNewest pre-release (a SemVer tag containing a hyphen)
0.6.1, 0.6.0, …A specific release

Built for linux/amd64 and linux/arm64. Keep both images on the same tag.

⁠Quick start

services:
  server:
    image: svenwal/crispr-server:latest
    environment:
      SECRET_KEY_BASE: "generate-me"
      ADMIN_PASSWORD: "changeme"
      DATABASE_PATH: /data/crispr.db
      PHX_HOST: "localhost"
    volumes:
      - crispr_data:/data

  client:
    image: svenwal/crispr-client:latest
    environment:
      # The backend as reachable from *this* container.
      BACKEND_URL: "http://server:4000"
    ports:
      - "8080:80"
    depends_on:
      - server

volumes:
  crispr_data:

Then open http://localhost:8080⁠.

⁠Configuration

VariableRequiredDefaultDescription
BACKEND_URLnohttp://server:4000URL of the Phoenix backend as seen from the nginx container. Change it when the two run on separate hosts.

When the containers run on different machines, also set CORS_ORIGINS on the server to the origin the browser uses — otherwise WebSocket upgrades are refused and workshop pages hang on "Loading…".

⁠Source and licence

https://github.com/svenwal/crispr⁠

Tag summary

Content type

Image

Digest

sha256:cef683086…

Size

5.3 MB

Last updated

17 days ago

docker pull svenwal/crispr-client