update restart args use always

This commit is contained in:
zly
2025-11-22 11:28:29 +08:00
parent 9e2f455b23
commit 8b068d8171
2 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ services:
nginx-webws:
image: nginx:alpine
container_name: nginx-webws
restart: unless-stopped
restart: always
volumes:
- webws-data:/usr/share/nginx/html:ro
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
@@ -34,7 +34,7 @@ services:
postgres:
image: postgres:16-alpine
container_name: webws-postgres
restart: unless-stopped
restart: always
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}