mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-18 21:38:58 +00:00
21 lines
422 B
YAML
21 lines
422 B
YAML
services:
|
|
api:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
NPM_TOKEN: ${NPM_TOKEN:?NPM_TOKEN not set}
|
|
ports:
|
|
- "3000"
|
|
environment:
|
|
- PORT=3000
|
|
- DB_CONNECTION=postgres
|
|
- TEST=${TEST}
|
|
- TEST_PASSWORD=$SERVICE_PASSWORD_64_API
|
|
volumes:
|
|
- test_db:/var/lib/mysql
|
|
analytics:
|
|
image: nginx
|
|
environment:
|
|
- API_URL=$SERVICE_FQDN_API
|