diff --git a/docker-compose.yml b/docker-compose.yml index 79d96ed9..499755e5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: "3.9" x-api-common: &api-common image: ghcr.io/openfoodfacts/open-prices/api:${TAG:-dev} - restart: ${RESTART_POLICY} + restart: $RESTART_POLICY environment: - POSTGRES_DB - POSTGRES_USER @@ -47,7 +47,8 @@ services: ports: - "${POSTGRES_EXPOSE:-127.0.0.1:5432}:5432" - nginx: + nginx: + restart: $RESTART_POLICY image: nginx:1.25-alpine volumes: # Mount the nginx configuration file