prod config
This commit is contained in:
parent
3cd463127b
commit
289d6e0249
@ -8,8 +8,9 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
||||
|
||||
FROM debian:bullseye-slim
|
||||
|
||||
COPY --from=builder /usr/local/cargo/bin/web3-proxy /usr/local/bin/web3-proxy
|
||||
ENTRYPOINT ["web3-proxy"]
|
||||
COPY --from=builder /usr/local/cargo/bin/web3_proxy /usr/local/bin/web3_proxy
|
||||
COPY --from=builder /usr/local/cargo/bin/web3_proxy_cli /usr/local/bin/web3_proxy_cli
|
||||
ENTRYPOINT ["web3_proxy"]
|
||||
|
||||
# TODO: lower log level when done with prototyping
|
||||
ENV RUST_LOG "web3_proxy=debug"
|
||||
|
@ -7,7 +7,22 @@ services:
|
||||
redis:
|
||||
build: ./redis-cell-server/
|
||||
|
||||
# TODO: database and adminer
|
||||
db:
|
||||
image: mysql
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: web3_proxy
|
||||
MYSQL_DATABASE: web3_proxy
|
||||
ports:
|
||||
- 127.0.0.1:3306:3306
|
||||
volumes:
|
||||
- ./data/prod_mysql:/var/lib/mysql
|
||||
|
||||
adminer:
|
||||
image: adminer
|
||||
ports:
|
||||
- 8306:8080
|
||||
environment:
|
||||
ADMINER_DEFAULT_SERVER: db
|
||||
|
||||
arbitrum:
|
||||
extends:
|
||||
|
Loading…
Reference in New Issue
Block a user