-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdocker-compose.yml
72 lines (68 loc) · 1.46 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
61
62
63
64
65
66
67
68
69
70
71
72
---
version: '3.8'
services:
postgres:
container_name: postgres
image: postgres:13
volumes:
- /var/lib/postgresql/data
env_file:
- .env
ports:
- '5432:5432'
networks:
- webnet
redis:
container_name: redis
image: redis:5
ports:
- '6379:6379'
networks:
- webnet
# storage:
# container_name: minio
# image: minio/minio
# volumes:
# - ./storage/:/storage
# env_file:
# - .env
# command: server /storage
# ports:
# - '9000:9000'
#
# createbuckets:
# image: minio/mc
# depends_on:
# - storage
# env_file:
# - .env
# entrypoint: >
# /bin/sh -c "
# until (/usr/bin/mc config host add myminio http://storage:9000 \
# \$MINIO_ACCESS_KEY \$MINIO_SECRET_KEY) do echo '...waiting...' \
# && sleep 1; done;
# /usr/bin/mc mb myminio/site-scanning-snapshot;
# /usr/bin/mc policy set download myminio/site-scanning-snapshot;
# exit 0;
# "
# cli:
# build:
# context: "."
# dockerfile: "./apps/scan-engine/Dockerfile"
# target: development
# #profiles: ["cli"]
# volumes:
# - .:/usr/src/app
# - /usr/src/app/node_modules
# command: bash
# environment:
# - QUEUE_HOST=redis
# security_opt:
# - "seccomp=./apps/scan-engine/chrome.json"
# networks:
# - webnet
# depends_on:
# - redis
# - postgres
networks:
webnet: