Skip to content

Commit

Permalink
chores(docker): set service restarts for bundling and ao services PE-…
Browse files Browse the repository at this point in the history
…6347
  • Loading branch information
Ariel Melendez authored and djwhitt committed Jul 18, 2024
1 parent d13b6c7 commit d26d495
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose.ao.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
services:
ao-cu:
image: ghcr.io/permaweb/ao-cu:latest
restart: on-failure:5
environment:
NODE_CONFIG_ENV: ${NODE_CONFIG_ENV:-development}
NODE_HEAPDUMP_OPTIONS: ${NODE_HEAPDUMP_OPTIONS:-nosignal}
Expand Down
4 changes: 4 additions & 0 deletions docker-compose.bundler.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
services:
upload-service:
image: ghcr.io/ardriveapp/turbo-upload-service:${UPLOAD_SERVICE_IMAGE_TAG:-fd1032e3012c0179577b08bbfe932f4ad7d805cd}
restart: on-failure:5
environment:
ARWEAVE_GATEWAY: ${ARWEAVE_GATEWAY:-http://envoy:3000}
PORT: ${UPLOAD_SERVICE_PORT:-5100}
Expand Down Expand Up @@ -41,6 +42,7 @@ services:

fulfillment-service:
image: ghcr.io/ardriveapp/turbo-upload-service-fulfillment:${UPLOAD_SERVICE_IMAGE_TAG:-6299f5497f5de479a1fb17ec86b764a4bf018f7b}
restart: on-failure:5
environment:
ARWEAVE_GATEWAY: ${ARWEAVE_GATEWAY:-http://envoy:3000}
NODE_ENV: ${NODE_ENV:-local}
Expand Down Expand Up @@ -82,6 +84,7 @@ services:

upload-service-pg:
image: postgres:13.8
restart: on-failure:5
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
Expand All @@ -95,6 +98,7 @@ services:

localstack:
image: ghcr.io/ardriveapp/turbo-upload-service-localstack:${UPLOAD_SERVICE_IMAGE_TAG:-6299f5497f5de479a1fb17ec86b764a4bf018f7b}
restart: on-failure:5
ports:
- '4566' # don't expose localstack externally by default
#- "127.0.0.1:4510-4559:4510-4559" # external services port range
Expand Down

0 comments on commit d26d495

Please sign in to comment.