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