ipld-eth-server/dockerfiles/super_node/docker-compose.yml

87 lines
2.1 KiB
YAML
Raw Normal View History

2020-03-02 22:30:46 +00:00
version: '3.2'
services:
db:
restart: always
2020-03-02 22:30:46 +00:00
image: postgres:10.12-alpine
environment:
POSTGRES_USER: "vdbm"
2020-03-02 22:30:46 +00:00
POSTGRES_DB: "vulcanize_public"
POSTGRES_PASSWORD: "password"
volumes:
- vulcanizedb_db_data:/var/lib/postgresql/data
2020-03-02 22:30:46 +00:00
expose:
- "5432"
2020-03-02 22:30:46 +00:00
ports:
- "127.0.0.1:8079:5432"
2020-03-22 17:14:43 +00:00
btc:
depends_on:
- db
build:
context: ./../../
cache_from:
- alpine:latest
2020-03-22 17:14:43 +00:00
- golang:1.12.4
dockerfile: ./dockerfiles/super_node/Dockerfile
args:
USER: "vdbm"
2020-06-30 00:16:52 +00:00
CONFIG_FILE: ./environments/watcherBTC.toml
environment:
2020-06-30 00:16:52 +00:00
VDB_COMMAND: "watcher"
DATABASE_NAME: "vulcanize_public"
DATABASE_HOSTNAME: "db"
DATABASE_PORT: 5432
DATABASE_USER: "vdbm"
DATABASE_PASSWORD: "password"
2020-03-22 17:14:43 +00:00
ports:
- "127.0.0.1:8082:8082"
- "127.0.0.1:8083:8083"
2020-03-02 22:30:46 +00:00
2020-03-22 17:14:43 +00:00
eth:
2020-03-02 22:30:46 +00:00
depends_on:
- db
2020-03-02 22:30:46 +00:00
build:
context: ./../../
cache_from:
- alpine:latest
- golang:1.12.4
2020-03-02 22:30:46 +00:00
dockerfile: ./dockerfiles/super_node/Dockerfile
args:
USER: "vdbm"
2020-06-30 00:16:52 +00:00
CONFIG_FILE: ./environments/watcherETH.toml
2020-03-02 22:30:46 +00:00
environment:
2020-06-30 00:16:52 +00:00
VDB_COMMAND: "watcher"
2020-03-18 13:48:25 +00:00
DATABASE_NAME: "vulcanize_public"
DATABASE_HOSTNAME: "db"
DATABASE_PORT: 5432
DATABASE_USER: "vdbm"
2020-03-18 13:48:25 +00:00
DATABASE_PASSWORD: "password"
2020-03-02 22:30:46 +00:00
ports:
2020-03-22 17:14:43 +00:00
- "127.0.0.1:8080:8080"
- "127.0.0.1:8081:8081"
2020-03-02 22:30:46 +00:00
graphql:
restart: always
depends_on:
- db
build:
context: ./../../
cache_from:
- node:alpine
dockerfile: ./dockerfiles/postgraphile/Dockerfile
expose:
- "5000"
ports:
- "127.0.0.1:5000:5000"
command: ["--plugins", "@graphile/pg-pubsub",
"--subscriptions",
"--simple-subscriptions",
"--connection", "postgres://vdbm:password@db:5432/vulcanize_public",
"--port", "5000",
2020-03-18 13:48:25 +00:00
"-n", "0.0.0.0",
"--schema", "public,btc,eth",
"--append-plugins", "postgraphile-plugin-connection-filter"]
2020-03-02 22:30:46 +00:00
volumes:
vulcanizedb_db_data: