update deployment configs to use unprivledged nginx

This commit is contained in:
sid palas
2023-03-17 10:41:37 -04:00
parent a5f57c79bd
commit 02933b7c5b
8 changed files with 38 additions and 15 deletions

View File

@ -11,15 +11,15 @@ services:
networks:
- frontend
ports:
- 80:80
- 80:8080
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost/ping"]
test: ["CMD", "curl", "-f", "http://localhost:8080/ping"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
api-node:
image: sidpalas/devops-directive-docker-course-api-node:8
image: sidpalas/devops-directive-docker-course-api-node:9
read_only: true
deploy:
mode: replicated
@ -42,7 +42,7 @@ services:
retries: 3
start_period: 10s
api-golang:
image: sidpalas/devops-directive-docker-course-api-golang:7
image: sidpalas/devops-directive-docker-course-api-golang:8
read_only: true
deploy:
mode: replicated