Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 1 | parameters: |
| 2 | docker: |
| 3 | client: |
| 4 | service: |
| 5 | aptly-api: |
| 6 | environment: |
| 7 | EMAIL_ADDRESS: ${_param:admin_email} |
| 8 | restart: |
| 9 | condition: any |
| 10 | image: ${_param:docker_image_aptly:api} |
| 11 | ports: |
| 12 | - 18084:8080 |
| 13 | volume: |
| 14 | site: |
| 15 | type: bind |
| 16 | source: /srv/volumes/aptly |
| 17 | destination: /var/lib/aptly |
| 18 | aptly-public: |
| 19 | replicas: 3 |
| 20 | restart: |
| 21 | condition: any |
| 22 | image: ${_param:docker_image_aptly:public} |
| 23 | ports: |
| 24 | - 18085:80 |
| 25 | volume: |
| 26 | site: |
| 27 | type: bind |
| 28 | source: /srv/volumes/aptly/public |
| 29 | destination: /var/www/html |