sha256:9c886f57a853a2d944defb808ba013d6a1bcd53cdca365442b6470a71d07ab62
Last pushed
10 months by mikemzed
Type
Compose
Manifest digest
sha256:9c886f57a853a2d944defb808ba013d6a1bcd53cdca365442b6470a71d07ab62
services:
web:
image: "nginx:${NGINX_VERSION:-1.27-alpine}"
ports:
- target: 80
published: ${WEB_PORT:-8080}
protocol: tcp
mode: host
environment:
NGINX_HOST: "${NGINX_HOST:-example.local}"
NGINX_PORT: "${NGINX_PORT:-80}"
BACKEND_URL: "${BACKEND_URL:-redis://redis:6379}"
labels:
com.example.env: "${APP_ENV:-dev}"
redis:
image: "redis:${REDIS_VERSION:-7-alpine}"
command: ["redis-server", "--save", "", "--appendonly", "no"]
docker compose -f oci://mikemzed/test-compose-app:latest upUse the above command to pull and run the Compose file. Learn more.