docker-compose.yml raw

   1  version: "3.8"
   2  
   3  services:
   4    jumble:
   5      container_name: jumble-nginx
   6      build:
   7        context: .
   8        dockerfile: Dockerfile
   9        args:
  10          VITE_PROXY_SERVER: ${JUMBLE_PROXY_SERVER_URL:-http://localhost:8090}
  11      ports:
  12        - "8089:80"
  13      restart: unless-stopped
  14      networks:
  15        - jumble
  16  
  17    proxy-server:
  18      image: ghcr.io/danvergara/jumble-proxy-server:latest
  19      environment:
  20        - ALLOW_ORIGIN=${JUMBLE_SOCIAL_URL:-http://localhost:8089}
  21        - JUMBLE_PROXY_GITHUB_TOKEN=${JUMBLE_PROXY_GITHUB_TOKEN}
  22        - ENABLE_PPROF=true
  23        - PORT=8080
  24      ports:
  25        - "8090:8080"
  26      networks:
  27        - jumble
  28  
  29  networks:
  30    jumble:
  31