Filip Pytloun | 96fc0cc | 2016-08-29 16:01:10 +0200 | [diff] [blame^] | 1 | docker: |
2 | client: | ||||
3 | enabled: true | ||||
4 | compose: | ||||
5 | source: | ||||
6 | engine: pip | ||||
7 | django_web: | ||||
8 | # Run up action, any positional argument to docker-compose CLI | ||||
9 | # If not defined, only docker-compose.yml is generated | ||||
10 | status: up | ||||
11 | environment: | ||||
12 | SOMEVAR: somevalue | ||||
13 | service: | ||||
14 | db: | ||||
15 | image: postgres | ||||
16 | web: | ||||
17 | image: djangoapp | ||||
18 | volumes: | ||||
19 | - /srv/volumes/django:/srv/django | ||||
20 | ports: | ||||
21 | - 8000:8000 | ||||
22 | depends_on: | ||||
23 | - db |