Skip to content

Commit

Permalink
some tessaracts docker fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TonioMacaronio committed Jun 13, 2019
1 parent a692817 commit 9a3dee6
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
10 changes: 8 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,12 @@ dev-push-flattener:
tessaracts-build:
@docker build -t "${TESSARACTS_DOCKER_IMAGE}" ./docker/tessaracts

tessaracts-run:
@docker run "${TESSARACTS_DOCKER_IMAGE}"
tessaracts-up:
@docker-compose up "${TESSARACTS_DOCKER_IMAGE}"

tessaracts-down:
@docker-compose stop "${TESSARACTS_DOCKER_IMAGE}"

# tessaracts-run:
# @docker run "${TESSARACTS_DOCKER_IMAGE}"

6 changes: 5 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,9 @@ services:
tessaracts:
image: "gluk64/franklin:tessaracts"
ports:
- "8080:80"
- "8080:8080"
volumes:
- type: bind
source: ./volumes/tessaracts
target: /var/lib/tessaracts/data

2 changes: 1 addition & 1 deletion docker/tessaracts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ WORKDIR /
COPY --from=builder /tesseracts.toml .
COPY --from=builder /tesseracts/target/release/tesseracts .

EXPOSE 80
EXPOSE 8080

RUN apk add clang clang-libs ca-certificates

Expand Down
2 changes: 1 addition & 1 deletion docker/tessaracts/tesseracts.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ db_store_neb = false
# web3 ----------------------------------------------

# web3 json-rpc port, e.g. http://localhost:8545
web3_url = "http://localhost:8545"
web3_url = "http://geth:8545"

# client type
# "geth_clique" for geth PoS
Expand Down

0 comments on commit 9a3dee6

Please sign in to comment.