From c31438838843eb9acbff727ac3dd8b7daffabe69 Mon Sep 17 00:00:00 2001 From: Harald Giskegjerde Nilsen Date: Sun, 14 Jan 2024 21:24:35 +0000 Subject: [PATCH] :poop: tried to write to csv --- backend/cmd/main.go | 4 ++-- backend/docker-compose.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/backend/cmd/main.go b/backend/cmd/main.go index bab9ba2..889ba5f 100644 --- a/backend/cmd/main.go +++ b/backend/cmd/main.go @@ -149,6 +149,6 @@ func main() { }) // Run the server on port 8080 - db.SetupDb() - // router.Run(":8080") + // db.SetupDb() + router.Run(":8080") } diff --git a/backend/docker-compose.yml b/backend/docker-compose.yml index 7de715d..01feb84 100644 --- a/backend/docker-compose.yml +++ b/backend/docker-compose.yml @@ -17,9 +17,9 @@ services: dockerfile: Dockerfile image: helseveileder volumes: - - ~/helseveileder/backend/cmd/db/backups/answer_backup.csv - - ~/helseveileder/backend/cmd/db/backups/bugreport_backup.csv - - ~/helseveileder/backend/cmd/db/backups/evaluation_backup.csv + - ${HOME}/helseveileder/backend/cmd/db/backups/answer_backup.csv + - ${HOME}/helseveileder/backend/cmd/db/backups/bugreport_backup.csv + - ${HOME}/helseveileder/backend/cmd/db/backups/evaluation_backup.csv depends_on: - postgres nginx: