mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-18 21:38:58 +00:00
Create docker-compose-weird.yaml
This commit is contained in:
19
docker-compose-test/docker-compose-weird.yaml
Normal file
19
docker-compose-test/docker-compose-weird.yaml
Normal 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
|
||||||
Reference in New Issue
Block a user