Sign inSign up

michaelirwin244/temp-compose-stack:latest

Manifest digest

sha256:265c90c36f2e6d739227c19c38a637e2b077c486cef63ab2cc9cc30cff9bd9a1

Last pushed

6 months by michaelirwin244

Type

Compose

Manifest digest

sha256:265c90c36f2e6d739227c19c38a637e2b077c486cef63ab2cc9cc30cff9bd9a1

Compose file content

services:
  setup:
    image: ubuntu
    command: cp /index.html /data/index.html
    volumes:
      - data:/data
    configs:
      - source: website
        target: /index.html
  interface:
    image: nginx:alpine
    volumes:
      - data:/usr/share/nginx/html
    depends_on:
      setup:
        condition: service_completed_successfully
    ports:
      - 8085:80

volumes:
  data:

configs:
  website:
    content: |
      <h1>Hello world!</h1>

Docker commands

docker compose -f oci://michaelirwin244/temp-compose-stack:latest up

Use the above command to pull and run the Compose file. Learn more.

Images used

Image + 1 more

Official build of Nginx.


Pulls

1B+

Stars

21382

Last Updated

about 12 hours

Image + 1 more

Ubuntu is a Debian-based Linux operating system based on free software.


Pulls

1B+

Stars

17872

Last Updated

1 day