-
Notifications
You must be signed in to change notification settings - Fork 21
/
docker-compose.yaml
50 lines (46 loc) · 1.04 KB
/
docker-compose.yaml
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
version: '3'
services:
# postgresdb:
# container_name: markai_postgresql
# image: "postgres:9.5.12"
# restart: always
# environment:
# - POSTGRES_USER=markai_admin
# - POSTGRES_PASSWORD=loop hams less curd vest tilt
# - POSTGRES_DB=markai
# ports:
# - 5432:5432
# networks:
# - markai-net
#
# elasticsearch:
# image: docker.elastic.co/elasticsearch/elasticsearch:6.5.4
# container_name: markai_elasticsearch
# environment:
# - cluster.name=docker-cluster
# - bootstrap.memory_lock=true
# - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
# ulimits:
# memlock:
# soft: -1
# hard: -1
# ports:
# - 9200:9200
# networks:
# - markai-net
api:
container_name: markai_api
build: .
command: python -m envdir env/docker/ python manage.py runserver 0.0.0.0:8000
volumes:
- .:/django-rest-api
ports:
- "8000:8000"
# depends_on:
# - postgresdb
# - elasticsearch
networks:
- markai-net
networks:
markai-net:
driver: bridge