Skip to content

Commit

Permalink
fix: remove restart policy
Browse files Browse the repository at this point in the history
  • Loading branch information
samgozman committed Mar 8, 2024
1 parent 10754b1 commit ea5ab6b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 17 deletions.
4 changes: 0 additions & 4 deletions deploy-simplified/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ version: '3.8'
services:
gateway-service:
image: 'ghcr.io/samgozman/validity.red/gateway-service:latest'
restart: always
ports:
- "8080:80"
# env_file:
Expand All @@ -16,7 +15,6 @@ services:

user-service:
image: 'ghcr.io/samgozman/validity.red/user-service:latest'
restart: always
# env_file:
# - ./config/users.env
ports:
Expand All @@ -26,7 +24,6 @@ services:

document-service:
image: 'ghcr.io/samgozman/validity.red/document-service:latest'
restart: always
# env_file:
# - ./config/documents.env
ports:
Expand All @@ -36,7 +33,6 @@ services:

calendar-service:
image: 'ghcr.io/samgozman/validity.red/calendar-service:latest'
restart: always
# env_file:
# - ./config/calendars.env
volumes:
Expand Down
6 changes: 0 additions & 6 deletions deploy/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ version: '3.8'
services:
gateway-service:
image: 'ghcr.io/samgozman/validity.red/gateway-service:latest'
restart: always
ports:
- "8080:80"
env_file:
Expand All @@ -19,7 +18,6 @@ services:

user-service:
image: 'ghcr.io/samgozman/validity.red/user-service:latest'
restart: always
env_file:
- ./config/users.env
ports:
Expand All @@ -32,7 +30,6 @@ services:

document-service:
image: 'ghcr.io/samgozman/validity.red/document-service:latest'
restart: always
env_file:
- ./config/documents.env
ports:
Expand All @@ -45,7 +42,6 @@ services:

calendar-service:
image: 'ghcr.io/samgozman/validity.red/calendar-service:latest'
restart: always
env_file:
- ./config/calendars.env
volumes:
Expand All @@ -57,7 +53,6 @@ services:

postgres:
image: postgres:14.5-alpine3.16
restart: always
env_file:
- ./config/db.env
ports:
Expand All @@ -72,7 +67,6 @@ services:

redis:
image: redis:6.2.7-alpine3.16
restart: always
env_file:
- ./config/gateway.env
entrypoint: ["/bin/sh", "-c", "redis-server --appendonly yes --requirepass $${REDIS_PASSWORD} --maxmemory 256mb --maxmemory-policy allkeys-lru"]
Expand Down
7 changes: 0 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ services:
build:
context: ./gateway-service
dockerfile: gateway-service.Dockerfile
restart: always
ports:
- "8080:80"
environment:
Expand Down Expand Up @@ -37,7 +36,6 @@ services:
build:
context: ./user-service
dockerfile: user-service.Dockerfile
restart: always
environment:
GRPC_PORT: 50001
POSTGRES_HOST: users_postgres
Expand All @@ -56,7 +54,6 @@ services:
build:
context: ./document-service
dockerfile: document-service.Dockerfile
restart: always
environment:
GRPC_PORT: 50002
POSTGRES_HOST: documents_postgres
Expand All @@ -76,7 +73,6 @@ services:
build:
context: ./calendar-service
dockerfile: calendar-service.Dockerfile
restart: always
environment:
RUST_BACKTRACE: true
GRPC_PORT: 50051
Expand All @@ -88,7 +84,6 @@ services:

users_postgres:
image: postgres:14.5-alpine3.16
restart: always
environment:
POSTGRES_USER: admin
POSTGRES_PASSWORD: password
Expand All @@ -102,7 +97,6 @@ services:

documents_postgres:
image: postgres:14.5-alpine3.16
restart: always
environment:
POSTGRES_USER: admin
POSTGRES_PASSWORD: password
Expand All @@ -117,7 +111,6 @@ services:

redis:
image: redis:6.2.7-alpine3.16
restart: always
environment:
REDIS_PASSWORD: VWtWRVNWTmZVRUZUVTFkUFVrUQ==
entrypoint: ["/bin/sh", "-c", "redis-server --appendonly yes --requirepass $${REDIS_PASSWORD} --maxmemory 256mb --maxmemory-policy allkeys-lru"]
Expand Down

0 comments on commit ea5ab6b

Please sign in to comment.