Skip to content

Commit

Permalink
make a named volume for the Bety logs mountpoint
Browse files Browse the repository at this point in the history
Best I can tell nothing gets written to this, but because the Bety image
specifies this path as a VOLUME, we were creating a new anonymous-but-permanent
volume every time Compose spun up
  • Loading branch information
infotroph committed Aug 3, 2024
1 parent 43a975b commit ee746f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ services:
- SECRET_KEY_BASE=${BETY_SECRET_KEY:-notasecret}
- RAILS_RELATIVE_URL_ROOT=/bety
- LOCAL_SERVER=${BETY_LOCAL_SERVER:-99}
volumes:
- bety:/home/bety/log
depends_on:
- postgres
labels:
Expand Down Expand Up @@ -346,6 +348,7 @@ networks:
volumes:
traefik:
postgres:
bety:
rabbitmq:
pecan:
rstudio:
Expand Down

0 comments on commit ee746f2

Please sign in to comment.