forked from datafolklabs/cement
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
56 lines (50 loc) · 1.23 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
55
56
version: "3"
services:
cement: &DEFAULTS
image: "cement:dev"
build:
context: .
dockerfile: docker/Dockerfile.dev
hostname: cement
stdin_open: true
tty: true
volumes:
- '.:/src'
working_dir: '/src'
links:
- redis:redis
- memcached:memcached
environment:
REDIS_HOST: redis
MEMCACHED_HOST: memcached
cement-py35:
<<: *DEFAULTS
image: "cement:dev-py35"
build:
context: .
dockerfile: docker/Dockerfile.dev-py35
cement-py36:
image: "cement:dev-py36"
build:
context: .
dockerfile: docker/Dockerfile.dev-py36
<<: *DEFAULTS
cement-py37:
image: "cement:dev-py37"
build:
context: .
dockerfile: docker/Dockerfile.dev-py37
<<: *DEFAULTS
cement-py38:
image: "cement:dev-py38"
build:
context: .
dockerfile: docker/Dockerfile.dev-py38
<<: *DEFAULTS
redis:
redis:
image: redis:latest
hostname: redis
memcached:
image: memcached:latest
hostname: memcached