Add env files, update config

This commit is contained in:
Alex Holliday committed 2024-09-08 14:29:17 -07:00
1 parent 93c01d0d8b
commit db9f8e26e9
3 files changed
+22 -2

No files matched your search

+4 -1
View File
@@ -33,8 +33,11 @@ services:
- ./redis/data:/data
mongodb:
image: uptime_database_mongo:latest
command: ["mongod", "--quiet"]
command: ["mongod", "--quiet", "--auth"]
ports:
- "27017:27017"
volumes:
- ./mongo/data:/data/db
- ./mongo/init/create_users.js:/docker-entrypoint-initdb.d/create_users.js
env_file:
- mongo.env