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: