Skip to content

Commit

Permalink
Use Docker Volumes for data storage
Browse files Browse the repository at this point in the history
  • Loading branch information
dmohns committed Jan 23, 2024
1 parent 32bd963 commit 3be7cf0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,15 @@ services:
container_name: redis
image: redis:5
volumes:
- ./redis/:/data
- redis_data:/data

maria:
container_name: maria
image: mariadb:10.3
env_file:
- ./Docker/.env
volumes:
- ./DB/mysql:/var/lib/mysql
- mariadb_data:/var/lib/mysql
ports:
- 3307:3306

Expand Down Expand Up @@ -112,3 +112,5 @@ services:

volumes:
frontend_node_modules:
mariadb_data:
redis_data:

0 comments on commit 3be7cf0

Please sign in to comment.