For docker-compose YAML, bash recipes, JSON examples, anything the reader might want to copy. Optional filename pill at the top, a copy-to-clipboard button on hover.
services: nextcloud: image: nextcloud:latest restart: unless-stopped ports: - "8080:80" environment: # Postgres connection details POSTGRES_HOST: db POSTGRES_USER: nextcloud
# one-time setup docker compose up -d # tail the logs docker compose logs -f nextcloud