-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathdocker-compose.server.yml
More file actions
32 lines (32 loc) · 834 Bytes
/
docker-compose.server.yml
File metadata and controls
32 lines (32 loc) · 834 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
services:
sitespeed.io-server:
image: sitespeedio/server:${SITESPEED_IO_SERVER_VERSION}
env_file:
- .env
environment:
redis_host: ${REDIS_HOST}
postgresql_server: ${POSTGRESQL_HOST}
validTestDomains: ${VALID_TEST_DOMAINS}
ports:
- "3000:3000"
restart: always
networks:
- skynet
depends_on:
redis:
condition: service_healthy
postgresql:
condition: service_healthy
minio:
condition: service_healthy
mc:
condition: service_completed_successfully
healthcheck:
test: [
"CMD-SHELL",
"node -e \"fetch('http://127.0.0.1:3000/').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))\""
]
interval: 5s
timeout: 3s
retries: 30
start_period: 30s