web3-proxy/docker-compose.yml

39 lines
810 B
YAML
Raw Normal View History

2022-05-06 04:40:43 +03:00
---
# development config
2022-05-06 04:40:43 +03:00
version: "3.4"
2022-05-06 04:57:37 +03:00
services:
2022-05-22 21:39:06 +03:00
dev-redis:
2022-08-16 02:06:10 +03:00
image: redis
command: [ "redis-server", "--save", "", "--appendonly", "no" ]
2022-05-06 04:57:37 +03:00
ports:
2022-08-06 08:49:52 +03:00
- 127.0.0.1:16379:6379
2022-07-26 03:38:00 +03:00
# TODO: expose these ports?
2022-07-11 22:16:18 +03:00
dev-db:
image: mysql
environment:
2022-07-26 03:38:00 +03:00
MYSQL_ROOT_PASSWORD: dev_web3_proxy
2022-07-26 07:53:38 +03:00
MYSQL_DATABASE: dev_web3_proxy
2022-07-26 03:38:00 +03:00
ports:
2022-08-06 08:49:52 +03:00
- 127.0.0.1:13306:3306
2022-07-26 07:53:38 +03:00
volumes:
- ./data/dev_mysql:/var/lib/mysql
2022-07-11 22:16:18 +03:00
dev-adminer:
image: adminer
ports:
2022-08-07 09:48:57 +03:00
- 18306:8080
2022-07-11 22:16:18 +03:00
environment:
ADMINER_DEFAULT_SERVER: dev-db
2022-07-26 03:38:00 +03:00
dev-eth:
extends:
file: docker-compose.common.yml
service: base
volumes:
- ./config/example.toml:/config.toml
ports:
- 8544:8544 # proxy (should be behind something handling HTTPS)
- 8543:8543 # prometheus