-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
39 lines (37 loc) · 988 Bytes
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version: '3.1'
services:
scrapy:
build:
context: fpv_products
restart: always
environment:
MONGODB_SERVER: "mongodb://marek:abrakadabra12@mongo:27017/"
MONGODB_DB: "fpvScrapper"
MONGODB_COLLECTION: "products"
front:
build:
context: site
restart: always
environment:
FLASK_MONGO_URI: mongodb://marek:abrakadabra12@mongo:27017/fpvScrapper?authSource=admin
ports:
- "8080:8000"
mongo:
image: mongo:6.0.2
restart: always
ports:
- "27017:27017"
volumes:
- "./container-data/mongo-data:/data/db"
environment:
MONGO_INITDB_ROOT_USERNAME: marek
MONGO_INITDB_ROOT_PASSWORD: abrakadabra12
mongo-express:
image: mongo-express:latest
restart: always
ports:
- "8081:8081"
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: marek
ME_CONFIG_MONGODB_ADMINPASSWORD: abrakadabra12
ME_CONFIG_MONGODB_URL: mongodb://marek:abrakadabra12@mongo:27017/