aboutsummaryrefslogtreecommitdiffstats
path: root/.do/deploy.template.yaml
blob: eae9e2237bc6e19914ae97a8e2ea51d30531123b (plain) (blame)
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
spec:
  alerts:
  - rule: DEPLOYMENT_FAILED
  - rule: DOMAIN_FAILED
  databases:
  - engine: PG
    name: ferdium-db
    num_nodes: 1
    size: db-s-dev-database
    version: "12"
  name: ferdium-server
  region: lon
  services:
  - dockerfile_path: Dockerfile
    git:
      branch: main
      repo_clone_url: https://github.com/ferdium/ferdium-server.git
    envs:
    - key: DB_HOST
      scope: RUN_AND_BUILD_TIME
      value: ${ferdium-db.HOSTNAME}
    - key: DB_PORT
      scope: RUN_AND_BUILD_TIME
      value: ${ferdium-db.PORT}
    - key: DB_USER
      scope: RUN_AND_BUILD_TIME
      value: ${ferdium-db.USERNAME}
    - key: DB_PASSWORD
      scope: RUN_AND_BUILD_TIME
      value: ${ferdium-db.PASSWORD}
    - key: DB_DATABASE
      scope: RUN_AND_BUILD_TIME
      value: ${ferdium-db.DATABASE}
    - key: DB_CA_CERT
      scope: RUN_AND_BUILD_TIME
      value: ${ferdium-db.CA_CERT}
    - key: DB_CONNECTION
      scope: RUN_AND_BUILD_TIME
      value: pg
    http_port: 8080
    instance_count: 1
    instance_size_slug: basic-xxs
    name: ferdium-server
    routes:
    - path: /
    source_dir: /