24 lines
576 B
YAML
24 lines
576 B
YAML
|
|
# Docker Compose for Documentation Service only
|
||
|
|
# Use this if you want to run just the documentation service
|
||
|
|
|
||
|
|
version: '3.8'
|
||
|
|
|
||
|
|
services:
|
||
|
|
documentation:
|
||
|
|
build: .
|
||
|
|
container_name: goa-gel-documentation
|
||
|
|
ports:
|
||
|
|
- "8080:80"
|
||
|
|
restart: unless-stopped
|
||
|
|
healthcheck:
|
||
|
|
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost/"]
|
||
|
|
interval: 30s
|
||
|
|
timeout: 3s
|
||
|
|
retries: 3
|
||
|
|
start_period: 5s
|
||
|
|
labels:
|
||
|
|
- "com.goa-gel.service=documentation"
|
||
|
|
- "com.goa-gel.version=1.0.0"
|
||
|
|
environment:
|
||
|
|
- NGINX_PORT=80
|