36 lines
897 B
YAML
36 lines
897 B
YAML
apps:
|
|
- name: gob-alert-postgres
|
|
image: postgres:15-alpine
|
|
env:
|
|
POSTGRES_USER: gob
|
|
POSTGRES_PASSWORD: gobpass
|
|
POSTGRES_DB: gob_alert
|
|
|
|
- name: gob-alert-redis
|
|
image: redis:7-alpine
|
|
|
|
- name: gob-alert-api
|
|
context: ./apps/api
|
|
dockerfile: Dockerfile
|
|
env:
|
|
- key: DATABASE_URL
|
|
value: postgres://gob:gobpass@localhost:5432/gob_alert
|
|
- key: API_ADMIN_KEY
|
|
value: changeme
|
|
ports:
|
|
- 3000
|
|
|
|
- name: gob-alert-web
|
|
context: ./apps/web
|
|
dockerfile: Dockerfile
|
|
env:
|
|
- key: API_URL
|
|
value: http://gob-alert-api:3000
|
|
ports:
|
|
- 3001
|
|
|
|
notes: |
|
|
This file provides a simple mapping for Coolify to build and deploy services from this repository.
|
|
Adjust `DATABASE_URL` host when Coolify provides internal network hostnames. Use the Coolify UI
|
|
to set secrets/variables in the target environment.
|