Skip to content

Commit

Permalink
chore: fix restart policy for nginx (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael0202 committed Feb 28, 2024
1 parent 683600b commit e924d00
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e924d00

Please sign in to comment.