forked from cerc-io/stack-orchestrator
Nabarun Gogoi
c319e90ddd
* Create uniswap-frontend stack * Add stack for building uniswap frontend app * Add a container for Urbit fake ship * Update with deployment command * Add a service for uniswap app deployment to urbit * Use a script to start urbit ship to handle restarts * Rename stack name to uniswap-urbit-app * Rename build.sh to build-app.sh and check if build already exists * Rename stack directory name * Update uniswap build restart on failure * Perform uniswap app deployment in the urbit container * Add steps to create glob for the app * Tail /dev/null after deployment * Add steps to install the app to desk * Host glob files for uniswap * Update repo branch * Update readme with command to get urbit password * Update readme * Update readme to open urbit web UI * Expose the port on glob hosting container * Avoid exposing urbit http port * Add scripts for installing uniswap on remote urbit instance * Configure GQL proxy for uniswap app * Use laconic branch for app repo * Rename urbit pod for uniswap app deployment --------- Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
27 lines
676 B
YAML
27 lines
676 B
YAML
version: '3.7'
|
|
|
|
services:
|
|
urbit-fake-ship:
|
|
restart: unless-stopped
|
|
image: tloncorp/vere
|
|
entrypoint: ["bash", "-c", "./run-urbit-ship.sh && ./deploy-uniswap-app.sh && tail -f /dev/null"]
|
|
volumes:
|
|
- urbit_data:/urbit
|
|
- app_builds:/app-builds
|
|
- app_globs:/app-globs
|
|
- ../config/urbit/run-urbit-ship.sh:/urbit/run-urbit-ship.sh
|
|
- ../config/uniswap-interface/deploy-uniswap-app.sh:/urbit/deploy-uniswap-app.sh
|
|
ports:
|
|
- "80"
|
|
healthcheck:
|
|
test: ["CMD", "nc", "-v", "localhost", "80"]
|
|
interval: 20s
|
|
timeout: 5s
|
|
retries: 15
|
|
start_period: 10s
|
|
|
|
volumes:
|
|
urbit_data:
|
|
app_builds:
|
|
app_globs:
|