forked from viasite/site-audit-seo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
54 lines (50 loc) · 1.33 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
---
version: '3'
services:
backend:
image: viasite/site-audit-seo:latest
container_name: ${NAMESPACE}-backend
restart: always
build:
context: .
dockerfile: Dockerfile
environment:
PORT: ${SERVER_PORT}
YAKE_SERVER_URL: ${YAKE_SERVER_URL}
MAX_CONCURRENCY: ${MAX_CONCURRENCY}
ONLY_DOMAINS: ${ONLY_DOMAINS}
SCAN_DEFAULT_URL: ${SCAN_DEFAULT_URL}
ports:
- ${SERVER_PORT}:${SERVER_PORT}
volumes:
# - .:/app # for debug, you must run npm install for it
- ./data:/app/data
- ./data/reports:/app/data/reports
# - ./data/db-docker.json:/app/data/db.json
# networks:
# - internal
# - web
frontend:
image: viasite/site-audit-seo-viewer:latest
container_name: ${NAMESPACE}-frontend
restart: always
build: data/front
environment:
HOST: 0.0.0.0 # for nuxt
PORT: ${FRONT_PORT}
NUXT_PUBLIC_SERVER_URL: ${SERVER_URL}
NUXT_PUBLIC_FRONTEND_URL: ${FRONTEND_URL}
NUXT_PUBLIC_JSON_URL: ${JSON_URL}
NUXT_PUBLIC_SCAN_DEFAULT_MAX_REQUESTS: ${SCAN_DEFAULT_MAX_REQUESTS}
ports:
- ${FRONT_PORT}:${FRONT_PORT}
# networks:
# - web
# volumes:
# - ./data/reports:/app/static/reports
yake:
image: liaad/yake-server
container_name: ${NAMESPACE}-yake
restart: always
ports:
- 5303:5000