Skip to content

Commit

Permalink
improve volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablito2020 committed Oct 10, 2023
1 parent aeb2e0b commit 8625eb8
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ services:
- PROD=true
volumes:
- /home/ferran/refuapp-deploy:/config
- frontend_page:/var/www/
- static_files:/static/
ports:
- 443:443
- 80:80
Expand All @@ -60,8 +62,18 @@ networks:

volumes:
postgres_data:
driver: local # Define the driver and options under the volume name
driver: local
driver_opts:
type: none
device: ~/data/
o: bind
frontend_page:
driver: local
driver_opts:
type: none
device: ~/web/
static_files:
driver: local
driver_opts:
type: none
device: ~/static/

0 comments on commit 8625eb8

Please sign in to comment.