-
Notifications
You must be signed in to change notification settings - Fork 72
Expand file tree
/
Copy pathdocker-compose.local.yml
More file actions
101 lines (93 loc) · 2.13 KB
/
Copy pathdocker-compose.local.yml
File metadata and controls
101 lines (93 loc) · 2.13 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
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
docs:
extends:
file: docker-compose.yml
service: docs
build:
context: .
dockerfile: ./Dockerfile.docs
# 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
ipfs:
image: ipfs/kubo:latest
restart: unless-stopped
environment:
IPFS_PROFILE: "server,pebbleds"
GOLOG_LOG_LEVEL: "info"
volumes:
- ipfs_data:/data/ipfs
ports:
- "4001:4001"
- "127.0.0.1:5001:5001"
- "127.0.0.1:8080:8080"
healthcheck:
test: ["CMD", "ipfs", "id"]
interval: 10s
timeout: 5s
retries: 5
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
s3mock:
image: adobe/s3mock:latest
environment:
- COM_ADOBE_TESTING_S3MOCK_STORE_INITIAL_BUCKETS=blobscan-s3-bucket
- COM_ADOBE_TESTING_S3MOCK_STORE_REGION=us-east-1
ports:
- 9090:9090
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:
ipfs_data: