57 lines
1.3 KiB
YAML
57 lines
1.3 KiB
YAML
frontend:
|
|
image: quay.io/wraft/wraft-frontend:latest
|
|
service:
|
|
type: NodePort
|
|
port: 3000
|
|
targetPort: 3000
|
|
env:
|
|
NEXT_PUBLIC_API_HOST: "http://myproject-backend:4000"
|
|
|
|
backend:
|
|
image: raziriz/example_db:latest
|
|
service:
|
|
type: NodePort
|
|
port: 4000
|
|
targetPort: 4000
|
|
env:
|
|
MIX_ENV: "dev"
|
|
SECRET_KEY_BASE: "mHUYpR7Q1LtBo5eUCt/U6Vluj7gDARoMztdmRgyb8AyZcJN8EspidYIM3W5th8sW"
|
|
GUARDIAN_KEY: "qKeHozNfIjr2Q8QvQYAm+HwoyDNz0t4yUsE8uEtEP6gp4pOnCtLXsvHDCACcdkE3"
|
|
DEV_DB_USERNAME: "postgres"
|
|
DEV_DB_PASSWORD: "postgres"
|
|
DEV_DB_NAME: "wraft_doc_dev_temp"
|
|
DEV_DB_HOST: "myproject-db"
|
|
DEV_DB_PORT: "5432"
|
|
MINIO_URL: "http://myproject-minio:9000"
|
|
MINIO_BUCKET: "wraft"
|
|
MINIO_ROOT_USER: "minioadmin"
|
|
MINIO_ROOT_PASSWORD: "minioadmin"
|
|
SENTRY_DSN: "https://public_key@app.getsentry.com/1"
|
|
|
|
db:
|
|
image: postgres:14-alpine
|
|
service:
|
|
port: 5432
|
|
env:
|
|
POSTGRES_USER: "postgres"
|
|
POSTGRES_PASSWORD: "postgres"
|
|
POSTGRES_DB: "wraft_doc_dev_temp"
|
|
persistence:
|
|
enabled: true
|
|
size: 1Gi
|
|
|
|
minio:
|
|
image: quay.io/minio/minio
|
|
service:
|
|
ports:
|
|
- 9000
|
|
- 9001
|
|
command: ["server", "/data", "--console-address=:9001"]
|
|
env:
|
|
MINIO_ROOT_USER: "minioadmin"
|
|
MINIO_ROOT_PASSWORD: "minioadmin"
|
|
persistence:
|
|
enabled: true
|
|
size: 1Gi
|
|
|