-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (41 loc) · 851 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
46 lines (41 loc) · 851 Bytes
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
version: '3'
services:
postgres:
image: postgres
restart: always
container_name: scrapper-postgresql
env_file:
- postgres_secrets.env
volumes:
- database:/var/lib/postgresql/data
scrapper:
build: scrapper
restart: always
container_name: nodejs
environment:
- POSTGRES_HOST=postgres
ports:
- "9229:9229"
env_file:
- postgres_secrets.env
depends_on:
- postgres
volumes:
- scrapperLog:/var/log/scrapper/
- ./scrapper:/opt/scrapper
pgadmin:
image: dpage/pgadmin4
depends_on:
- postgres
ports:
- "5555:80"
environment:
- PGADMIN_DEFAULT_EMAIL=admin
- PGADMIN_DEFAULT_PASSWORD=admin
restart: unless-stopped
volumes:
- pgadmin:/root/.pgadmin
volumes:
database:
pgadmin:
scrapperLog: