-
Notifications
You must be signed in to change notification settings - Fork 6
/
okteto.yml
34 lines (32 loc) · 750 Bytes
/
okteto.yml
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
---
name: quotes-flask
deploy:
compose:
file: docker-compose.yaml
services: [postgres, frontend, backend]
dev:
frontend:
command: flask run -h 0.0.0.0 --reload
workdir: /app
sync: [frontend:/app]
forward: [5000:5000]
reverse: [9000:9000]
environment:
FLASK_ENV: development
ENABLE_KUBERNETES_FEATURES: true
NAMESPACE: default
BACKEND_HOST: backend
BACKEND_PORT: 5000
backend:
command: flask run -h 0.0.0.0 --reload
workdir: /app
sync: [backend:/app]
forward: [8080:5000]
reverse: [9090:9000]
environment:
FLASK_ENV: development
DB_HOST: postgres
DB_PORT: 5432
DB_USER: superuser
DB_PASSWORD: complicated
DB_NAME: quotes