-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
38 lines (36 loc) · 971 Bytes
/
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
version: '3'
services:
pubsub:
ports:
- "8681:8681"
image: thekevjames/gcloud-pubsub-emulator:latest
db:
command: ["postgres", "-c", "log_statement=all"]
image: postgres:13
volumes:
- db-data:/var/lib/postgresql/data
ports:
- "5432:5432/tcp"
environment:
- POSTGRES_USER=${PGUSER}
- POSTGRES_PASSWORD=${PGPASSWORD}
- POSTGRES_HOST_AUTH_METHOD=trust
redis:
image: redis
ports:
- "6378:6379"
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.15.1
ports:
- "9200:9200"
environment:
- ELASTIC_PASSWORD=bccm123
- discovery.type=single-node
- xpack.security.http.ssl.enabled=false
- xpack.license.self_generated.type=trial
- http.cors.enabled=true
- http.cors.allow-origin="http://localhost:8080"
- http.cors.allow-headers=X-Requested-With,Content-Type,Content-Length,Authorization
volumes:
db-data:
driver: local