mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-19 13:58:56 +00:00
24 lines
488 B
YAML
24 lines
488 B
YAML
services:
|
|
api:
|
|
image: nginx
|
|
analytics:
|
|
image: nginx
|
|
environment:
|
|
- API_URL=$SERVICE_URL_API
|
|
- ANOTHER_URL=$SERVICE_FQDN_ANOTHER_SERVICE
|
|
depends_on:
|
|
another-service:
|
|
condition: service_started
|
|
another-service:
|
|
image: nginx
|
|
environment:
|
|
- API_FQDN=$SERVICE_FQDN_API
|
|
healthcheck:
|
|
test:
|
|
- CMD-SHELL
|
|
- 'wget -qO- 127.0.0.1:80'
|
|
interval: 5s
|
|
timeout: 10s
|
|
retries: 5
|
|
start_period: 1s
|