blob: d5b836283a4cf72837dbfcacdc9e8b6268fb80b7 [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:
7 client:
8 stack:
9 aptly:
10 environment:
11 EMAIL_ADDRESS: ${_param:admin_email}
Filip Pytloune7d4f862017-08-04 13:11:51 +020012 https_proxy: ${_param:docker_https_proxy}
13 http_proxy: ${_param:docker_http_proxy}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020014 service:
15 api:
16 deploy:
17 restart_policy:
18 condition: any
19 image: ${_param:docker_image_aptly:api}
20 ports:
21 - 18084:8080
22 volumes:
23 - /srv/volumes/aptly:/var/lib/aptly
24 public:
25 deploy:
azvyagintsev4c89c122018-02-27 12:52:35 +020026 replicas: ${_param:docker_stack_aptly_public_replicas}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020027 restart_policy:
28 condition: any
29 image: ${_param:docker_image_aptly:public}
30 ports:
31 - 18085:80
32 volumes:
33 - /srv/volumes/aptly/public:/var/www/html