diff --git a/docker-compose.yml b/docker-compose.yml index 1a86f68..1eb7c85 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,9 @@ -version: '3.8' +version: "3.8" services: web: + env_file: + - stack.env build: context: . dockerfile: Dockerfile @@ -21,7 +23,18 @@ services: - NEXTAUTH_URL=${NEXTAUTH_URL} restart: unless-stopped healthcheck: - test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/api/health", "||", "exit", "1"] + test: + [ + "CMD", + "wget", + "--no-verbose", + "--tries=1", + "--spider", + "http://localhost:3000/api/health", + "||", + "exit", + "1", + ] interval: 30s timeout: 10s retries: 3