Skip to content

Commit

Permalink
updated containers
Browse files Browse the repository at this point in the history
  • Loading branch information
cryi committed Aug 3, 2024
1 parent 58c965d commit b64c44c
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions containers/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
services:
pg_delegation_rewards:
pg_protocol_rewards:
image: postgres:alpine
container_name: pg_delegation_rewards
restart: always
environment:
POSTGRES_USER: protocol_rewards
Expand All @@ -10,11 +9,10 @@ services:
volumes:
- ./db:/var/lib/postgresql/data
networks:
- delegation-rewards-network
- protocol-rewards-network

delegation_rewards:
image: ghcr.io/tez-capital/delegation-rewards:latest
container_name: delegation_rewards
image: ghcr.io/tez-capital/protocol-rewards:latest
restart: always
ports:
- "127.0.0.1:8080:8080"
Expand All @@ -28,7 +26,7 @@ services:
- pg_delegation_rewards
- node
networks:
- delegation-rewards-network
- protocol-rewards-network
logging:
driver: json-file
options:
Expand All @@ -37,11 +35,10 @@ services:

node:
image: ghcr.io/tez-capital/xtz.node:latest
container_name: node
volumes:
- ./node:/ascend:rw
networks:
- delegation-rewards-network
- protocol-rewards-network
stop_grace_period: 5m00s
logging:
driver: json-file
Expand All @@ -50,5 +47,5 @@ services:
max-file: '10' # Maximum number of files

networks:
delegation-rewards-network:
protocol-rewards-network:
driver: bridge

0 comments on commit b64c44c

Please sign in to comment.