forked from viasite/site-audit-seo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-dev.yml
40 lines (37 loc) · 1003 Bytes
/
docker-compose-dev.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
---
version: '3'
services:
backend:
image: viasite/site-audit-seo:latest
restart: always
build:
context: .
dockerfile: Dockerfile
environment:
PORT: ${SERVER_PORT}
ports:
- ${SERVER_PORT}:${SERVER_PORT}
volumes:
- ./:/app
# - ./data/reports/:/app/data/reports
# - ./data:/app/data
# command:
# npm run server
frontend:
image: viasite/site-audit-seo-viewer:latest
build: data/front
restart: always
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}
volumes:
- ./data/front/:/app
# working_dir: /app
# command:
# npm run dev-popstas-prod