blob: 5f6de6ece615f133e9417dddaea97531925743e9 [file] [log] [blame]
Filip Pytloun3a1e3d32017-02-23 15:02:54 +01001parameters:
Marek Celouddd1e6bc2017-03-22 16:18:09 +01002 _param:
3 docker_image_aptly:
4 api: tcpcloud/aptly-api
5 public: tcpcloud/aptly-public
Filip Pytloun3a1e3d32017-02-23 15:02:54 +01006 docker:
7 client:
8 service:
9 aptly-api:
10 environment:
11 EMAIL_ADDRESS: ${_param:admin_email}
12 restart:
13 condition: any
14 image: ${_param:docker_image_aptly:api}
15 ports:
16 - 18084:8080
17 volume:
18 site:
19 type: bind
20 source: /srv/volumes/aptly
21 destination: /var/lib/aptly
22 aptly-public:
23 replicas: 3
24 restart:
25 condition: any
26 image: ${_param:docker_image_aptly:public}
27 ports:
28 - 18085:80
29 volume:
30 site:
31 type: bind
32 source: /srv/volumes/aptly/public
33 destination: /var/www/html