blob: 89ec5ec96173a0936d3e2c672b39da122e828ac7 [file] [log] [blame]
Filip Pytloune7d4f862017-08-04 13:11:51 +02001classes:
2- system.docker
Filip Pytloun7d6144a2017-04-13 13:36:45 +02003parameters:
4 _param:
azvyagintsev4c89c122018-02-27 12:52:35 +02005 docker_stack_aptly_public_replicas: 3
Filip Pytloun7d6144a2017-04-13 13:36:45 +02006 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 Pytloune7d4f862017-08-04 13:11:51 +020015 https_proxy: ${_param:docker_https_proxy}
16 http_proxy: ${_param:docker_http_proxy}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020017 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:
azvyagintsev4c89c122018-02-27 12:52:35 +020029 replicas: ${_param:docker_stack_aptly_public_replicas}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020030 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