name: selfhosted type: Load Balanced Web Service http: path: '/' healthcheck: success_codes: '200,301,302' grace_period: 120s image: build: Dockerfile port: 80 cpu: 2048 memory: 4096 platform: linux/x86_64 count: 1 exec: true storage: ephemeral: 20 volumes: draftable: # efs: true path: /srv/draftable read_only: false cgroup: path: /sys/fs/cgroup read_only: false variables: DRAFTABLE_APISH_NGINX: |- nginx: virtual_hosts: draftable: conf_settings: http_redirects_to_https: False use_x_forwarded_proto: True environments: dev: count: range: min: 1 max: 3 spot_from: 2 cpu_percentage: 90 memory_percentage: 90 production: count: range: min: 2 max: 10 cpu_percentage: 70 memory_percentage: 80 FROM draftable/apish:latest