Filip Pytloun | e7d4f86 | 2017-08-04 13:11:51 +0200 | [diff] [blame] | 1 | classes: |
| 2 | - system.docker |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 3 | parameters: |
| 4 | _param: |
azvyagintsev | 4c89c12 | 2018-02-27 12:52:35 +0200 | [diff] [blame] | 5 | docker_stack_aptly_public_replicas: 3 |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 6 | docker_image_aptly: |
| 7 | api: tcpcloud/aptly-api |
| 8 | public: tcpcloud/aptly-public |
| 9 | docker: |
| 10 | client: |
| 11 | stack: |
| 12 | aptly: |
| 13 | environment: |
| 14 | EMAIL_ADDRESS: ${_param:admin_email} |
Filip Pytloun | e7d4f86 | 2017-08-04 13:11:51 +0200 | [diff] [blame] | 15 | https_proxy: ${_param:docker_https_proxy} |
| 16 | http_proxy: ${_param:docker_http_proxy} |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 17 | service: |
| 18 | api: |
| 19 | deploy: |
| 20 | restart_policy: |
| 21 | condition: any |
| 22 | image: ${_param:docker_image_aptly:api} |
| 23 | ports: |
| 24 | - 18084:8080 |
| 25 | volumes: |
| 26 | - /srv/volumes/aptly:/var/lib/aptly |
| 27 | public: |
| 28 | deploy: |
azvyagintsev | 4c89c12 | 2018-02-27 12:52:35 +0200 | [diff] [blame] | 29 | replicas: ${_param:docker_stack_aptly_public_replicas} |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 30 | restart_policy: |
| 31 | condition: any |
| 32 | image: ${_param:docker_image_aptly:public} |
| 33 | ports: |
| 34 | - 18085:80 |
| 35 | volumes: |
| 36 | - /srv/volumes/aptly/public:/var/www/html |