From 000ef82269f86a1689d5a76c6c304c781f55a8a0 Mon Sep 17 00:00:00 2001 From: Chris Judd <85649796+juddisjudd@users.noreply.github.com> Date: Fri, 3 May 2024 13:51:14 -0700 Subject: [PATCH] fix: environment variables for compose weren't set correctly --- docker-compose.production.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.production.yaml b/docker-compose.production.yaml index ee6775c..59ef9e4 100644 --- a/docker-compose.production.yaml +++ b/docker-compose.production.yaml @@ -8,11 +8,11 @@ services: command: pnpm start:production volumes: - db-data:/app/prisma + - ./.env:/app/.env + env_file: + - ./.env environment: - DATABASE_URL=file:/app/prisma/data.db - - TOKEN=${TOKEN} - - GUILD_ID=${GUILD_ID} - - CLIENT_ID=${CLIENT_ID} watchtower: image: containrrr/watchtower