Docker Compose
Overview
version: '3.7'
services:
web:
image: wordpress
ports:
- "89:8080"
logging:
driver: "fluentd"
options:
fluentd-address: 192.168.68.114:24224
labels: "namespace,application,production_status,cluster_id"
env: "os"
labels:
production_status: "testing"
namespace: "us-east-1"
application: "wordpress"
cluster_id: "cluster1"
environment:
- os=ubuntuSpecifying the logging driver
Adding metadata


Last updated
Was this helpful?