forked from LaconicNetwork/kompose
26 lines
438 B
YAML
26 lines
438 B
YAML
version: "3"
|
|
|
|
services:
|
|
redis:
|
|
image: redis
|
|
labels:
|
|
kompose.service.type: headless
|
|
healthcheck:
|
|
test: echo "hello world"
|
|
interval: 10s
|
|
timeout: 1s
|
|
retries: 5
|
|
restart: "unless-stopped"
|
|
foo:
|
|
image: foo:latest
|
|
command: sh -c "echo Hello Foo"
|
|
networks:
|
|
app: {}
|
|
web: {}
|
|
networks:
|
|
app:
|
|
external:
|
|
name: app-network
|
|
web:
|
|
external:
|
|
name: web-network |