-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathporter.yaml
59 lines (53 loc) · 1022 Bytes
/
porter.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
schemaType: Bundle
schemaVersion: 1.0.1
# Name of the application
name: python-app
# Version of the application
version: 0.3.11
# A short description of the application
description: Quickstart Python with Porter (Docker App)
registry: mikespub
required:
- docker:
privileged: false # Change to true if you need privileged containers
parameters:
- name: flask_port
type: integer
env: FLASK_PORT
default: 5080
- name: flask_host
type: string
env: FLASK_HOST
default: 0.0.0.0
- name: host_port
type: integer
env: HOST_PORT
default: 5080
- name: app_name
type: string
env: APP_NAME
default: Porter
- name: proxy_fix
type: integer
env: PROXY_FIX
default: 0
mixins:
- docker-compose
install:
- docker-compose:
description: Docker Compose Up
arguments:
- up
- -d
upgrade:
- docker-compose:
description: Docker Compose Up
arguments:
- up
- -d
uninstall:
- docker-compose:
description: Docker Compose Down
arguments:
- down
- --remove-orphans