You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
582 B
YAML
38 lines
582 B
YAML
version: "2"
|
|
|
|
services:
|
|
web:
|
|
build: "."
|
|
links:
|
|
- "db:postgres"
|
|
- "es:es"
|
|
ports:
|
|
- "8009:80"
|
|
volumes:
|
|
- ".:/app:rw"
|
|
- "./data:/data:rw"
|
|
command: python manage.py runserver 0.0.0.0:80
|
|
env_file: .env-local
|
|
networks:
|
|
- privatenetwork
|
|
|
|
db:
|
|
image: postgres:9.6-alpine
|
|
environment:
|
|
POSTGRES_DB: "db"
|
|
volumes:
|
|
- ".:/app:rw"
|
|
networks:
|
|
- privatenetwork
|
|
|
|
es:
|
|
image: elasticsearch:2.4-alpine
|
|
expose:
|
|
- "9200"
|
|
networks:
|
|
- privatenetwork
|
|
|
|
|
|
networks:
|
|
privatenetwork:
|