blob: 5570c40f7a1673b65955e48542255917db518d25 [file] [log] [blame]
Filip Pytloun7d6144a2017-04-13 13:36:45 +02001parameters:
2 _param:
3 docker_image_aptly:
4 api: tcpcloud/aptly-api
5 public: tcpcloud/aptly-public
6 docker:
7 client:
8 stack:
9 aptly:
10 environment:
11 EMAIL_ADDRESS: ${_param:admin_email}
12 service:
13 api:
14 deploy:
15 restart_policy:
16 condition: any
17 image: ${_param:docker_image_aptly:api}
18 ports:
19 - 18084:8080
20 volumes:
21 - /srv/volumes/aptly:/var/lib/aptly
22 public:
23 deploy:
24 replicas: 3
25 restart_policy:
26 condition: any
27 image: ${_param:docker_image_aptly:public}
28 ports:
29 - 18085:80
30 volumes:
31 - /srv/volumes/aptly/public:/var/www/html