From 8f825c36c3de50eb22164e5f9dd5e374d23600eb Mon Sep 17 00:00:00 2001 From: Thibault Date: Tue, 28 May 2024 15:58:44 +0200 Subject: [PATCH] docker --- docker-compose.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index e27aaa9..0e76865 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,3 @@ -version: "3" services: sporteasy-calendar-connector: image: sporteasy-calendar-connector @@ -8,5 +7,8 @@ services: - "5000:5000" volumes: - ./sporteasy-calendar-connector-logs:/logs - - ./database.db:/app/database.db + # Ensure this file exists before running. `touch database.db` is sufficient. + - type: bind + source: ./database.db + target: /app/database.db restart: unless-stopped