forked from dvnrsn/toggle-meister
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cnpy-deployment.yaml
49 lines (43 loc) · 1.07 KB
/
cnpy-deployment.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
name: toggle-meister
labels:
stack: python
squad: black
expose: True
healthcheck_url: /heartbeat
port: 8445
worker_command: ['tini', './cron.sh']
environment:
default:
GOOGLE_ORG: canopytax.com
DATABASE_MAX_POOL_SIZE: 12
DATABASE_USER: tmeister_app
DATABASE_DB_NAME: tmeisterdb
SKIP_MIGRATIONS: true
stage:
ENV_LOCATION: stage
COOKIE_NAME: canopytogglemeister
production:
COOKIE_NAME: canopytoggles
ENV_LOCATION: Prod
SLACK_CHANNEL: '#dev-camp'
SLACK_REMINDER_TIME: '15:15'
SLACK_REMINDER_DAY: 'wednesday'
secrets:
tmeister:
DATABASE_URL: database_hostname
DATABASE_PASS: database_password
GOOGLE_ID: google_id
GOOGLE_SECRET: google_secret
COOKIE_KEY: cookie_key
SENTRY_URL: sentry_dsn
SLACK_WEBHOOK_URL: slack_webhook_url
migration:
command: ["alembic", "upgrade", "head"]
environment:
default:
DATABASE_MIGRATION_USER: tmeister_sa
DATABASE_DB_NAME: tmeisterdb
secrets:
tmeister:
DATABASE_URL: database_hostname
DATABASE_MIGRATION_PASS: database_migration_password