Skip to content

Commit

Permalink
move mongo init files to environment folder
Browse files Browse the repository at this point in the history
  • Loading branch information
apricot13 committed Aug 20, 2023
1 parent 5d9a67e commit 87d0f0f
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker-compose.development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ services:
- 27017:27017
volumes:
- outpost-api-dev-mongo-volume:/data/db
- ./setup-mongodb-development.js:/docker-entrypoint-initdb.d/mongo-init.js:ro
- ./environment/containers/mongo/setup-mongodb-development.js:/docker-entrypoint-initdb.d/mongo-init.js:ro
environment:
MONGO_INITDB_DATABASE: outpost_api_development
networks:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ services:
- 27017:27017
volumes:
- outpost-api-mongo-volume:/data/db
- ./setup-mongodb-production.js:/docker-entrypoint-initdb.d/mongo-init.js:ro
- ./environment/containers/mongo/setup-mongodb-production.js:/docker-entrypoint-initdb.d/mongo-init.js:ro
networks:
- outpost_api_external_network

Expand Down
4 changes: 0 additions & 4 deletions environment/containers/mongo/Dockerfile

This file was deleted.

File renamed without changes.
File renamed without changes.

0 comments on commit 87d0f0f

Please sign in to comment.