version: '3.5' services: apish: environment: DRAFTABLE_APISH_NGINX: |- nginx: virtual_hosts: draftable: conf_settings: ssl: certificate: /srv/draftable/config/certs/apish.crt private_key: /srv/draftable/config/private/apish.key image: draftable/apish ports: - 80:80/tcp # HTTP - 0.0.0.0:8442:443/tcp # HTTPS volumes: - draftable-apish:/srv/draftable - /sys/fs/cgroup:/sys/fs/cgroup volumes: draftable-apish: