forked from odota/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
30 lines (28 loc) · 882 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
# Does not set up Cassandra
# You don't usually need to edit this file.
# If it does not fit your personal use case, docker-compose.override.yml is a preferred way to go.
version: '2'
services:
db:
build:
context: .
dockerfile: docker/postgres.dockerfile
network_mode: host
cache:
image: redis:3
network_mode: host
web:
build: .
# 'basic' to launch basic configuration as in profiles/basic.json
# 'everything' to launch all the services as in profiles/everything.json
# 'custom-profile' to launch all services as in profiles/custom.json (you'll have to provide it)
# or just override the whole command with your script if existing does not fit your needs
command: ./docker/main-launch.sh basic
ports:
- "5000"
volumes:
- .:/usr/src/yasp
network_mode: host
depends_on:
- db
- cache