forked from rosti-cz/rostictl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rostifile
34 lines (34 loc) · 1.07 KB
/
Rostifile
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
# Version of Rostifile format
version: 1
# This is just a test file
# Unique application name, don't change it
name: clitest
technology: python
# Enabling https
https: true
# List of domains configured on the load balancer for this application
domains:
- testcli.rostiapp.cz
# Directory with the source code that will be uploaded onto server into /srv/app. Default is .
source_path: .
# Plan of the service, possible values are: static,start,start+,normal,normal+,pro,pro+,business,business+. Default is start.
plan: start
# Image of the application, Default is the latest.
runtime: rosti/runtime:2020-10
# List of background processes running in supervisor
processes:
- name: gunicorn
command: /srv/venv/bin/gunicorn
# Crontab jobs, standard crontab format, one cronjon per line, example: "*/15 * * * * date > /tmp/crontest.txt"
crontabs:
- "*/15 * * * * date > /tmp/crontest.txt"
# List of after and before deploy commands. The default values are below
before_commands:
- supervisorctl stop gunicorn
after_commands:
- supervisorctl start gunicorn
exclude:
- .git
- .history
- rostictl
- cli