diff --git a/docker-compose.yml b/docker-compose.yml index 17829260..87f8f6fb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,7 @@ services: volumes: - ./server/:/home/node/app command: ash -c "npm i && node index.js" + restart: always nginx: build: context: ./docker/ @@ -22,4 +23,5 @@ services: - "443:443" env_file: ./docker/fqdn.env entrypoint: /mnt/openssl/create.sh - command: ["nginx", "-g", "daemon off;"] \ No newline at end of file + command: ["nginx", "-g", "daemon off;"] + restart: always