mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-05-28 14:07:31 +00:00
Create docker-compose.yaml
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
services:
|
||||
nginx:
|
||||
image: nginx:alpine
|
||||
ports:
|
||||
- "0:80"
|
||||
volumes:
|
||||
- ./static:/var/www/static:ro
|
||||
depends_on:
|
||||
- web
|
||||
|
||||
web:
|
||||
image: alpine:latest
|
||||
command: ["sh", "-c", "echo 'hello' > /var/www/static/index.html && sleep infinity"]
|
||||
volumes:
|
||||
- ./static:/var/www/static
|
||||
Reference in New Issue
Block a user