-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeployment.yaml
More file actions
39 lines (39 loc) · 1017 Bytes
/
deployment.yaml
File metadata and controls
39 lines (39 loc) · 1017 Bytes
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
imageName: my-app
containerName: my-app
# By running /deployment specifying --imageTag, the imageTag on configuration file will be ignored
imageTag: v1
template: "ci/deployment.mustache"
# If you want to push the image to a custom docker registry
pushImageHost: localhost:5000
# The host that image should be pulled
# If you want to pull the image from a docker registry
# Recommended when the registry is running on the same host. If not set, pushImageHost will be used
pullImageHost: localhost:5000
# Full path that docker will check container health
healthcheck:
retries: 5
timeout: 15s
interval: 30s
start_period: 10s
url: "http://172.17.0.1:8080"
dockerfile: .
environment:
MY_ENV: "MY_ENV"
MY_ENV_02: "MY_ENV_02"
args:
PORT: "80"
PROFILE: "prd"
extrasHosts:
- "server.net:172.17.0.1"
- "local.server.net:172.17.0.1"
bind:
ports:
- "127.0.0.1:8080:80"
- "172.17.0.1:8080:80"
volumes:
- ~/.storage/:/root/.storage/
limit:
memory: 2G
cpu: 0.5
volumes:
- "example_logs:"