File tree 2 files changed +11
-4
lines changed
2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 3
3
* .swp
4
4
~ *
5
5
venv
6
+ data
Original file line number Diff line number Diff line change @@ -6,6 +6,11 @@ services:
6
6
container_name : mongo
7
7
image : mongo
8
8
restart : always
9
+ environment :
10
+ MONGO_INITDB_ROOT_USERNAME : root
11
+ MONGO_INITDB_ROOT_PASSWORD : example
12
+ volumes :
13
+ - ./data:/data/db
9
14
10
15
mongo-express :
11
16
container_name : mongo-express
@@ -16,14 +21,15 @@ services:
16
21
environment :
17
22
ME_CONFIG_OPTIONS_EDITORTHEME : " ambiance"
18
23
ME_CONFIG_MONGODB_SERVER : " mongo"
24
+ ME_CONFIG_MONGODB_ENABLE_ADMIN : " true"
25
+ ME_CONFIG_MONGODB_ADMINUSERNAME : " root"
26
+ ME_CONFIG_MONGODB_ADMINPASSWORD : " example"
19
27
ME_CONFIG_BASICAUTH_USERNAME : " user"
20
28
ME_CONFIG_BASICAUTH_PASSWORD : " long password"
21
29
22
- scraper :
30
+ logger :
23
31
container_name : logger
24
- image : logger
32
+ image : ghcr.io/nameless-coder/factory-production- logger:latest
25
33
restart : always
26
- build :
27
- context : .
28
34
ports :
29
35
- 8000:8000
You can’t perform that action at this time.
0 commit comments