Create docker-compose-weird.yaml

This commit is contained in:
Andras Bacsai
2024-08-29 11:32:08 +02:00
committed by GitHub
parent 83a0c2538b
commit 253d30bfaa

View File

@@ -0,0 +1,19 @@
name: stream
services:
foo:
image: busybox
command: echo "I'm running ${COMPOSE_PROJECT_NAME}"
restart: no
web:
image: nginx:latest
cap_add:
- ALL
ports:
- "8888:80"
annotations:
com.example.foo: bar
db:
image: postgres:16
environment:
POSTGRES_USER: example
POSTGRES_DB: exampledb