Skip to content

Commit

Permalink
refactor: move database data to the root folder
Browse files Browse the repository at this point in the history
  • Loading branch information
gaboesquivel authored and leordev committed Nov 6, 2018
1 parent d478e7f commit 60b859d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -20,5 +20,8 @@ temp
.mongo-data
.pgsql-data

# database data
.dbdata/

# wallet keys
keys
4 changes: 2 additions & 2 deletions docker-compose.yml
Expand Up @@ -5,7 +5,7 @@ services:
postgres:
image: postgres:10.4
volumes:
- ../.monstereos/.pgsql-data:/var/lib/postgresql/data
- ./.dbdata/.pgsql-data:/var/lib/postgresql/data
ports:
- '5432:5432'
environment:
Expand All @@ -22,7 +22,7 @@ services:
image: mongo
restart: always
volumes:
- ../.monstereos/.mongo-data:/data/db
- ./.dbdata/.mongo-data:/data/db
ports:
- '27017:27017'
networks:
Expand Down

0 comments on commit 60b859d

Please sign in to comment.