version: "3.2" services: osmosis-front-end: image: cerc/osmosis-front-end:local restart: on-failure environment: - NEXT_PUBLIC_WEB_API_BASE_URL=${CERC_WEB_API_BASE_URL} working_dir: /app/packages/web command: ["./build-app.sh"] volumes: - ../config/osmosis/build-app.sh:/app/packages/web/build-app.sh - urbit_app_builds:/app-builds # TODO: Refactor common mar files - ../config/osmosis/urbit-files/mar:/app/packages/web/mar - ../config/osmosis/urbit-files/desk.docket-0:/app/packages/web/desk.docket-0 nginx: image: nginx:1.23-alpine restart: always depends_on: osmosis-front-end: condition: service_completed_successfully volumes: - ../config/osmosis/nginx:/etc/nginx/conf.d - urbit_app_builds:/app-builds ports: - "80" healthcheck: test: ["CMD", "nc", "-vz", "localhost", "80"] interval: 20s timeout: 5s retries: 15 start_period: 5s volumes: urbit_app_builds: