We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6de588 commit 7018c4cCopy full SHA for 7018c4c
docker-compose.yml
@@ -5,5 +5,29 @@ services:
5
build:
6
context: .
7
dockerfile: ./docker/Dockerfile
8
+ environment:
9
+ - DATABASE_URL=postgres://postgres:postgres@postgres:5432/postgres
10
+ - ES_HOST=http://elasticsearch:9200
11
ports:
12
- '3000:3000'
13
+ depends_on:
14
+ - postgres
15
+ - elasticsearch
16
+ restart: always
17
+
18
19
+ postgres:
20
+ image: postgres
21
22
+ POSTGRES_USER: postgres
23
+ POSTGRES_PASSWORD: postgres
24
+ ports:
25
+ - 5432:5432
26
27
+ elasticsearch:
28
+ image: docker.elastic.co/elasticsearch/elasticsearch:7.9.2
29
30
+ - discovery.type=single-node
31
32
+ - 9200:9200
33
0 commit comments