-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
60 lines (55 loc) · 1.39 KB
/
docker-compose.yml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: '3.9'
services:
mongodb:
image: mongo:latest
env_file:
- .env
ports:
- ${MONGO_PORT}:${MONGO_PORT}
volumes:
- ./mongo/init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js:ro
restart: unless-stopped
database-viewer:
image: mongo-express
depends_on:
- mongodb
env_file:
- .env
environment:
- ME_CONFIG_MONGODB_URL=mongodb://${MONGO_INITDB_ROOT_USERNAME}:${MONGO_INITDB_ROOT_PASSWORD}@${MONGO_HOST}:${MONGO_PORT}
- ME_CONFIG_MONGODB_ADMINUSERNAME=${MONGO_INITDB_ROOT_USERNAME}
- ME_CONFIG_MONGODB_ADMINPASSWORD=${MONGO_INITDB_ROOT_PASSWORD}
ports:
- "8081:8081"
restart: unless-stopped
geckodriver:
image: instrumentisto/geckodriver:92.0-driver0.29.1
shm_size: 2g
ports:
- 4444:4444
restart: unless-stopped
pjatk-api:
build:
dockerfile: pjatk-api/Dockerfile
context: .
image: ghcr.io/pjatk21/pjatk-api:latest
ports:
- ${PJATK_API_PORT}:${PJATK_API_PORT}
env_file:
- .env
depends_on:
- mongodb
restart: unless-stopped
pjatk-scraper:
build:
dockerfile: pjatk-schedule/Dockerfile
context: .
image: ghcr.io/pjatk21/pjatk-scraper:latest
ports:
- ${PJATK_SCRAPPER_PORT}:${PJATK_SCRAPPER_PORT}
env_file:
- .env
depends_on:
- geckodriver
- mongodb
restart: unless-stopped