-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
54 lines (54 loc) · 1 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
version: "3.0"
services:
elasticsearch:
container_name: elasticsearch
image: elasticsearch:7.17.7
environment:
- xpack.security.enabled=false
- "discovery.type=single-node"
ports:
- 9200:9200
postgres:
container_name: postgres
image: postgres:alpine
restart: always
volumes:
- pgdata:/var/lib/postgresql/data/
environment:
POSTGRES_PASSWORD: example
web:
container_name: web
build: .
environment:
DEBUG: 'true'
restart: always
working_dir: /src
ports:
- 8000:8000
depends_on:
- elasticsearch
- postgres
entrypoint: /src/entrypoint.sh
volumes:
- ./:/src
nginx:
container_name: nginx
restart: always
build: ./nginx/
ports:
- "8080:80"
volumes:
- ./static:/www/static
links:
- web:web
depends_on:
- web
adminer:
container_name: adminer
image: adminer
restart: always
ports:
- 8081:8080
volumes:
web-static:
pgdata: