-
Notifications
You must be signed in to change notification settings - Fork 38
/
docker-compose.local.yml
71 lines (63 loc) · 1.41 KB
/
docker-compose.local.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
---
version: "3.7"
services:
web:
extends:
file: docker-compose.yml
service: web
build:
context: .
target: web
ports:
- 5556:5556 # Prisma studio
api:
extends:
file: docker-compose.yml
service: api
build:
context: .
target: api
depends_on:
- postgres
# External dependencies
postgres:
image: postgres:16
ports:
- 5432:5432
volumes:
- postgres-data:/var/lib/postgresql/data
- /tmp:/tmp
environment:
- POSTGRES_USER=blobscan
- POSTGRES_DB=blobscan_dev
- POSTGRES_PASSWORD=s3cr3t
storage:
image: fsouza/fake-gcs-server
ports:
- "4443:4443"
command: ["-scheme", "http", "-port", "4443", "-data", "/data"]
volumes:
- gcs_data:/data
- type: bind
source: ./packages/test/src/fixtures/gcs
target: /data
redis:
image: "redis:alpine"
command: redis-server /usr/local/etc/redis/redis.conf
ports:
- "6379:6379"
volumes:
- ./misc/data:/var/lib/redis
- ./misc/conf:/usr/local/etc/redis/redis.conf
environment:
- REDIS_REPLICATION_MODE=master
- REDIS_PASSWORD=s3cr3t
- REDIS_USERNAME=blobscan
collector:
image: otel/opentelemetry-collector:0.23.0
command: "--config /etc/otel-config.yaml"
volumes:
- ./otel-config.yaml:/etc/otel-config.yaml
volumes:
postgres-data:
gcs_data: