forked from cerc-io/stack-orchestrator
Compare commits
1 Commits
main
...
zach/birbi
Author | SHA1 | Date | |
---|---|---|---|
|
cc4396d593 |
@ -2,7 +2,7 @@ services:
|
|||||||
laconicd:
|
laconicd:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: cerc/laconicd:local
|
image: cerc/laconicd:local
|
||||||
command: ["sh", "/docker-entrypoint-scripts.d/create-fixturenet.sh"]
|
entrypoint: ["sh", "/docker-entrypoint-scripts.d/create-fixturenet.sh"]
|
||||||
volumes:
|
volumes:
|
||||||
# The cosmos-sdk node's database directory:
|
# The cosmos-sdk node's database directory:
|
||||||
- laconicd-data:/root/.laconicd
|
- laconicd-data:/root/.laconicd
|
||||||
@ -15,12 +15,12 @@ services:
|
|||||||
- "6060"
|
- "6060"
|
||||||
- "26657"
|
- "26657"
|
||||||
- "26656"
|
- "26656"
|
||||||
- "9473"
|
- "9473:9473"
|
||||||
- "8545"
|
- "8545"
|
||||||
- "8546"
|
- "8546"
|
||||||
- "9090"
|
- "9090"
|
||||||
- "9091"
|
- "9091"
|
||||||
- "1317"
|
- "1317:1317"
|
||||||
cli:
|
cli:
|
||||||
image: cerc/laconic-registry-cli:local
|
image: cerc/laconic-registry-cli:local
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
version: "3.2"
|
||||||
|
|
||||||
|
services:
|
||||||
|
geojson:
|
||||||
|
image: cerc/geojson:local
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- 0.0.0.0:8080:8080
|
4
stack_orchestrator/data/container-build/cerc-birbit/build.sh
Executable file
4
stack_orchestrator/data/container-build/cerc-birbit/build.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# Build the birbit image
|
||||||
|
source ${CERC_CONTAINER_BASE_DIR}/build-base.sh
|
||||||
|
docker build -t cerc/birbit:local -f ${CERC_REPO_BASE_DIR}/birbit/Dockerfile ${build_command_args} ${CERC_REPO_BASE_DIR}/birbit
|
@ -0,0 +1,11 @@
|
|||||||
|
FROM node:14
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
RUN npm install && npm run build
|
||||||
|
|
||||||
|
EXPOSE 8080
|
||||||
|
|
||||||
|
CMD ["npm", "run", "serve"]
|
5
stack_orchestrator/data/container-build/cerc-geojson/build.sh
Executable file
5
stack_orchestrator/data/container-build/cerc-geojson/build.sh
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# Build the geojson image
|
||||||
|
source ${CERC_CONTAINER_BASE_DIR}/build-base.sh
|
||||||
|
docker build -t cerc/geojson:local -f ${CERC_CONTAINER_BASE_DIR}/cerc-geojson/Dockerfile ${build_command_args} ${CERC_REPO_BASE_DIR}/geojson.io
|
||||||
|
#docker build -t cerc/geojson:local -f ${CERC_REPO_BASE_DIR}/geojson.io/Dockerfile ${build_command_args} ${CERC_REPO_BASE_DIR}/geojson.io
|
3
stack_orchestrator/data/stacks/birbit/README.md
Normal file
3
stack_orchestrator/data/stacks/birbit/README.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# birbit
|
||||||
|
|
||||||
|
takes geo-tagged images, publishes the metadata on chain, then generates a geojson front end of that geo data
|
19
stack_orchestrator/data/stacks/birbit/stack.yml
Normal file
19
stack_orchestrator/data/stacks/birbit/stack.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
version: "0.1"
|
||||||
|
name: birbit
|
||||||
|
repos:
|
||||||
|
#- github.com/zramsay/birbit
|
||||||
|
- github.com/mapbox/geojson.io
|
||||||
|
containers:
|
||||||
|
#- cerc/birbit
|
||||||
|
- cerc/geojson
|
||||||
|
pods:
|
||||||
|
# configurable process that reads from chain and generates a view for the front end
|
||||||
|
# for MVP is basically does nothing, b/c FE view is reading all records
|
||||||
|
# imagine a 'watcher' for a specific view
|
||||||
|
#- birbit
|
||||||
|
# front end, gets its file from kubo;
|
||||||
|
# https://github.com/mapbox/geojson.io/blob/main/API.md#datadatatextx-url
|
||||||
|
# deployed via kubernetes
|
||||||
|
- geojson
|
||||||
|
# hosts all the dot geojson files that are required to generated views
|
||||||
|
- kubo
|
Loading…
Reference in New Issue
Block a user