services: app: image: "{{ release_image }}" {% if target_env == 'staging' %} command: ["gunicorn", "--bind", "0.0.0.0:8001", "app:app"] {% endif %} restart: unless-stopped read_only: true tmpfs: - /tmp cap_drop: - ALL security_opt: - no-new-privileges:true networks: edge: aliases: - "pricing-{{ target_env }}" networks: edge: external: true name: "{{ proxy_network }}"