refactor: folder structure
This commit is contained in:
parent
ca6d6cb06d
commit
88599ded3f
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
stack.env
|
**/*/stack.env
|
@ -31,40 +31,12 @@ services:
|
|||||||
retries: 5
|
retries: 5
|
||||||
networks:
|
networks:
|
||||||
- inethi
|
- inethi
|
||||||
eth-tracker:
|
|
||||||
image: ghcr.io/inethi/eth-tracker:v1.6.1-inethi-prefork
|
|
||||||
restart: unless-stopped
|
|
||||||
depends_on:
|
|
||||||
nats:
|
|
||||||
condition: service_started
|
|
||||||
env_file:
|
|
||||||
- stack.env
|
|
||||||
volumes:
|
|
||||||
- tracker-data:/service/db
|
|
||||||
ports:
|
|
||||||
- 127.0.0.1:5001:5001
|
|
||||||
networks:
|
|
||||||
- inethi
|
|
||||||
eth-indexer:
|
|
||||||
image: ghcr.io/inethi/eth-indexer:v2.4.0-inethi
|
|
||||||
restart: unless-stopped
|
|
||||||
depends_on:
|
|
||||||
eth-tracker:
|
|
||||||
condition: service_started
|
|
||||||
env_file:
|
|
||||||
- stack.env
|
|
||||||
ports:
|
|
||||||
- 127.0.0.1:5002:5002
|
|
||||||
networks:
|
|
||||||
- inethi
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
nats-data:
|
nats-data:
|
||||||
driver: local
|
driver: local
|
||||||
postgres-data:
|
postgres-data:
|
||||||
driver: local
|
driver: local
|
||||||
tracker-data:
|
|
||||||
driver: local
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
inethi:
|
inethi:
|
35
stack/docker-compose.yaml
Normal file
35
stack/docker-compose.yaml
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
services:
|
||||||
|
eth-tracker:
|
||||||
|
image: ghcr.io/inethi/eth-tracker:v1.6.1-inethi-prefork
|
||||||
|
restart: unless-stopped
|
||||||
|
depends_on:
|
||||||
|
nats:
|
||||||
|
condition: service_started
|
||||||
|
env_file:
|
||||||
|
- stack.env
|
||||||
|
volumes:
|
||||||
|
- tracker-data:/service/db
|
||||||
|
ports:
|
||||||
|
- 127.0.0.1:5001:5001
|
||||||
|
networks:
|
||||||
|
- inethi
|
||||||
|
eth-indexer:
|
||||||
|
image: ghcr.io/inethi/eth-indexer:v2.4.0-inethi
|
||||||
|
restart: unless-stopped
|
||||||
|
depends_on:
|
||||||
|
eth-tracker:
|
||||||
|
condition: service_started
|
||||||
|
env_file:
|
||||||
|
- stack.env
|
||||||
|
ports:
|
||||||
|
- 127.0.0.1:5002:5002
|
||||||
|
networks:
|
||||||
|
- inethi
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
tracker-data:
|
||||||
|
driver: local
|
||||||
|
|
||||||
|
networks:
|
||||||
|
inethi:
|
||||||
|
external: true
|
Loading…
Reference in New Issue
Block a user