forked from wirequery/wirequery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
56 lines (55 loc) · 1.55 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
# Use this Docker Compose file to spin up WireQuery on your local machine.
version: '3'
services:
reverseproxy:
image: nginx
ports:
- "8090:8090"
restart: always
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
depends_on:
wirequery-backend:
condition: service_started
wirequery-frontend:
condition: service_started
wirequery-db:
image: timescale/timescaledb-ha:pg14-latest
ports:
- '15432:5432'
environment:
POSTGRES_PASSWORD: 'postgres'
healthcheck:
test: [ "CMD-SHELL", "pg_isready" ]
interval: 10s
timeout: 5s
retries: 5
wirequery-redis:
image: redis
ports:
- "16379:6379"
healthcheck:
test: [ "CMD", "redis-cli", "--raw", "incr", "ping" ]
wirequery-backend:
image: ghcr.io/wirequery/wirequery-backend:latest
ports:
- "9090:9090"
environment:
SPRING_FLYWAY_USER: postgres
SPRING_FLYWAY_PASSWORD: postgres
SPRING_FLYWAY_URL: jdbc:postgresql://wirequery-db:5432/postgres
WIREQUERY_REDIS_HOSTNAME: wirequery-redis
WIREQUERY_REDIS_PORT: 6379
WIREQUERY_DB_USER: postgres
WIREQUERY_DB_PASSWORD: postgres
WIREQUERY_DB_URL: jdbc:postgresql://wirequery-db:5432/postgres
WIREQUERY_ADMIN_PASSWORD: "admin"
WIREQUERY_TENANT_ID: "1"
WIREQUERY_MULTITENANT_DISABLE: true
depends_on:
wirequery-redis:
condition: service_healthy
wirequery-db:
condition: service_healthy
wirequery-frontend:
image: ghcr.io/wirequery/wirequery-frontend:latest