blob: 5570c40f7a1673b65955e48542255917db518d25 [file] [log] [blame]
parameters:
_param:
docker_image_aptly:
api: tcpcloud/aptly-api
public: tcpcloud/aptly-public
docker:
client:
stack:
aptly:
environment:
EMAIL_ADDRESS: ${_param:admin_email}
service:
api:
deploy:
restart_policy:
condition: any
image: ${_param:docker_image_aptly:api}
ports:
- 18084:8080
volumes:
- /srv/volumes/aptly:/var/lib/aptly
public:
deploy:
replicas: 3
restart_policy:
condition: any
image: ${_param:docker_image_aptly:public}
ports:
- 18085:80
volumes:
- /srv/volumes/aptly/public:/var/www/html