Sign inSign up

jcoliz/listswebapp:latest

Manifest digest

sha256:dde13c0f01659a3d6bf5d90965c22b305e007a690cd383acd150d344d7d27129

Last pushed

about 14 hours by jcoliz

Type

Compose

Manifest digest

sha256:dde13c0f01659a3d6bf5d90965c22b305e007a690cd383acd150d344d7d27129

Compose file content

name: lwa_development_ci
services: 
  dashboard:
    image: mcr.microsoft.com/dotnet/aspire-dashboard:13
    ports:
      - '18888:18888'  # Dashboard UI
      - '18889:18889'  # OTLP/gRPC endpoint
      - '18890:18890'  # OTLP/HTTP endpoint
    environment:
      - DOTNET_DASHBOARD_UNSECURED_ALLOW_ANONYMOUS=true
    restart: unless-stopped
  frontend:
    image: ${REGISTRY_PREFIX:-}listswebapp-frontend:${SOLUTION_VERSION:-local}
    build:
      context: ../src/FrontEnd.Nuxt
      dockerfile: ./docker/Dockerfile
      tags:
        - ${REGISTRY_PREFIX:-}listswebapp-frontend:latest
      args:
          # Set the API base URL for the frontend to point to the backend service, from the
          # perspective of JS code running in user's browser, *not* from the perspective of
          # within the container.
        - NUXT_PUBLIC_API_BASE_URL=http://localhost:5301
        - NUXT_PUBLIC_SOLUTION_VERSION=${SOLUTION_VERSION:-container}
        - NUXT_PUBLIC_APPLICATION_INSIGHTS_CONNECTION_STRING=${APPLICATIONINSIGHTS_CONNECTION_STRING:-}
    restart: always
    ports:
      - '5300:80'
    depends_on:
      backend:
        condition: service_healthy
  backend:
    image: ${REGISTRY_PREFIX:-}listswebapp-backend:${SOLUTION_VERSION:-local}
    build:
      context: ..
      dockerfile: ./docker/Dockerfile
      tags:
        - ${REGISTRY_PREFIX:-}listswebapp-backend:latest
      args:
        SOLUTION_VERSION: ${SOLUTION_VERSION:-container}
    environment:
      - ASPNETCORE_ENVIRONMENT=Container
      - IdentitySeeder__Environment__Users__0__PASSWORD=${TESTPWORD}
      - ConnectionStrings__DefaultConnection=Host=lwa_db;Database=db;Username=postgres;Password=development
      - STARTUP__ALLOWEDCORSORIGINS__0=http://localhost:5300
      - OTEL_EXPORTER_OTLP_ENDPOINT=http://dashboard:18889
      - OTEL_EXPORTER_OTLP_PROTOCOL=grpc
      - OTEL_SERVICE_NAME=backend
    restart: always
    ports:
      - '5301:8080'
    depends_on:
      db:
        condition: service_healthy
  db:
    image: postgres:15.4-alpine
    container_name: lwa_db
    restart: always
    environment:
      - POSTGRES_PASSWORD=development
      - POSTGRES_DB=db
      - POSTGRES_USER=postgres
      - PGUSER=postgres
    healthcheck:
      test: [ "CMD-SHELL" , "pg_isready" ]
      interval: 1s
      timeout: 5s
      retries: 10
services:
  backend:
    image: docker.io/jcoliz/listswebapp-backend:ci-4376@sha256:5f7a5181f67b62f7f8cf53aa2c2f9049fb58ad0739fcdd3a2d42cf3367d23d2a
  dashboard:
    image: mcr.microsoft.com/dotnet/aspire-dashboard:13@sha256:03099004e132a7ca2feb66c5fa24715ffeaaf2fffab6f8b2cda23de3abd3ea45
  db:
    image: docker.io/library/postgres:15.4-alpine@sha256:35ce2187f2f7fb75e8e79493e13743596c21eb3789ff41ece145ae04d06e93a5
  frontend:
    image: docker.io/jcoliz/listswebapp-frontend:ci-4376@sha256:51b0059fdd2b9c266354a2fba79dc47a18eec96f83b4690cc76b2a1b29881865

Docker commands

docker compose -f oci://jcoliz/listswebapp:latest up

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

Images used

Image + 1 more

The PostgreSQL object-relational database system provides reliability and data integrity.


Pulls

1B+

Stars

15032

Last Updated

8 days

Image


Pulls

1.5K

Stars

0

Last Updated

about 14 hours

Image


Pulls

1.4K

Stars

0

Last Updated

about 14 hours