diff --git a/docker-compose.yml b/docker-compose.yml index 9ec7ca5..4004829 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,3 +1,5 @@ +version: '3' + networks: journal: internal: true @@ -7,8 +9,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 +32,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