mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-18 21:38:58 +00:00
23 lines
450 B
YAML
23 lines
450 B
YAML
services:
|
|
api.test:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- "3000"
|
|
environment:
|
|
- FQDN=${SERVICE_FQDN_API}
|
|
- PORT=3000
|
|
- DB_CONNECTION=postgres
|
|
- TEST=${TEST}
|
|
- TEST_PASSWORD=${SERVICE_PASSWORD_TEST}
|
|
database:
|
|
image: postgres:14-alpine
|
|
environment:
|
|
- POSTGRES_DB=database
|
|
- POSTGRES_PASSWORD=password
|
|
db:
|
|
image: nginx
|
|
another-api:
|
|
image: nginx
|