Skip to content

Commit

Permalink
Feat/docker compose (#81)
Browse files Browse the repository at this point in the history
* update workflows for classic/release tags (#79)

* update workflows for classic/release tags

* chore(deps): bump github.com/docker/distribution (#78)

Bumps [github.com/docker/distribution](https://github.com/docker/distribution) from 2.8.1+incompatible to 2.8.2+incompatible.
- [Release notes](https://github.com/docker/distribution/releases)
- [Commits](distribution/distribution@v2.8.1...v2.8.2)

---
updated-dependencies:
- dependency-name: github.com/docker/distribution
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* create docker-compose

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
Greg Junge and dependabot[bot] authored Jun 15, 2023
1 parent 9c15b2a commit 55f91f9
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
COMPOSE_PROJECT_NAME=localterra
4 changes: 4 additions & 0 deletions docker-compose-reset
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh

docker-compose rm -f -s -v
docker volume rm localterra_terra localterra_fcd_data
55 changes: 55 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
version: '3.8'

x-mm-env: &mm-env
- CHAIN_ID=localterra
- MANTLEMINT_HOME=/app
- INDEXER_DB=/data/indexer
- MANTLEMINT_DB=/data/mantlemint
- GENESIS_PATH=/app/config/genesis.json
- DISABLE_SYNC=false
- RUST_BACKTRACE=full
- ENABLE_EXPORT_MODULE=false
- RICHLIST_LENGTH=100
- RICHLIST_THRESHOLD=1uluna
- ACCOUNT_ADDRESS_PREFIX=terra
- BOND_DENOM=uluna
- LCD_ENDPOINTS=http://terrad:1317
- RPC_ENDPOINTS=http://terrad:26657
- WS_ENDPOINTS=ws://terrad:26657/websocket

services:
terrad:
image: ghcr.io/terra-money/localterra:${TERRA_VERSION:-latest}
hostname: terrad
volumes:
- terra:/app
networks:
- default
ports:
- "8080:8080"
- "26657:26657"

mantlemint:
build:
context: .
dockerfile: Dockerfile
image: ghcr.io/terra-money/mantlemint:${TERRA_VERSION:-latest}
hostname: mantlemint
command: /usr/local/bin/mantlemint
environment: *mm-env
restart: unless-stopped
volumes:
- terra:/app
networks:
- default
ports:
- 1317:1317
- 9090:9090

volumes:
terra:

networks:
default:


0 comments on commit 55f91f9

Please sign in to comment.