From f5f0809c18f5336e111346214f856e4d80458d6d Mon Sep 17 00:00:00 2001 From: H3arn <75999000+H3arn@users.noreply.github.com> Date: Wed, 24 Aug 2022 20:27:43 +0800 Subject: [PATCH 1/2] edit volume parameters to make docker happy --- docker-compose.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9ec7ca5..4c04743 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,8 +7,6 @@ services: journal: build: https://github.com/inoda/journal.git#main image: gh-inoda-journal - volumes: - - /media/jc/floppy/journal/data:/app:rw environment: - RAILS_ENV=production - SITE_DOMAIN=domain.tld @@ -32,7 +30,7 @@ services: - POSTGRES_USER=replaceme - POSTGRES_PASSWORD=RePLAcEpAsS volumes: - - /media/jc/floppy/journal/postgres:/var/lib/postgresql/data:rw + - ./journal/postgres:/var/lib/postgresql/data:rw networks: - journal restart: unless-stopped From 9fec7363d760d1c59f2a2c6f8ff7e2a3b0f0f285 Mon Sep 17 00:00:00 2001 From: H3arn <75999000+H3arn@users.noreply.github.com> Date: Thu, 25 Aug 2022 18:45:59 +0800 Subject: [PATCH 2/2] Update docker-compose.yml --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 4c04743..4004829 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,3 +1,5 @@ +version: '3' + networks: journal: internal: true