Skip to content

Commit

Permalink
Restart docker compose services after reboot (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
maoo authored Feb 6, 2024
1 parent 51dbbdc commit acfe6c5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ version: '3.4'

services:
database:
restart: always
environment:
- DATABASE_WEB_HOSTNAMES=${TRADERX_FQDN:-localhost}
image: database
Expand All @@ -24,6 +25,7 @@ services:
networks:
- localnet
reference-data:
restart: always
image: reference-data
build:
context: reference-data
Expand All @@ -40,6 +42,7 @@ services:
networks:
- localnet
trade-feed:
restart: always
image: trade-feed
build:
context: trade-feed
Expand All @@ -56,6 +59,7 @@ services:
networks:
- localnet
people-service:
restart: always
image: people-service
build:
context: people-service
Expand All @@ -72,6 +76,7 @@ services:
networks:
- localnet
account-service:
restart: always
image: account-service
build:
context: account-service
Expand All @@ -94,6 +99,7 @@ services:
- database
- people-service
position-service:
restart: always
image: position-service
build:
context: position-service
Expand All @@ -114,6 +120,7 @@ services:
depends_on:
- database
trade-service:
restart: always
image: trade-service
build:
context: trade-service
Expand Down Expand Up @@ -142,6 +149,7 @@ services:
- reference-data
- trade-feed
trade-processor:
restart: always
image: trade-processor
build:
context: trade-processor
Expand All @@ -164,6 +172,7 @@ services:
- database
- trade-feed
web-front-end-angular:
restart: always
image: web-front-end-angular
build:
context: web-front-end/angular
Expand Down

0 comments on commit acfe6c5

Please sign in to comment.