Sign inSign up

jcoliz/yofi-v3:latest

Manifest digest

sha256:f2074388d62ae1ea6f18a365c876b1f19792fe78680b41b127c0755156904b79

Last pushed

about 4 hours by jcoliz

Type

Compose

Manifest digest

sha256:f2074388d62ae1ea6f18a365c876b1f19792fe78680b41b127c0755156904b79

Compose file content

name: yofi-v3
services:
  dashboard:
    image: mcr.microsoft.com/dotnet/aspire-dashboard:13
    ports:
      - '18800:18888'  # Dashboard UI
    environment:
      - DOTNET_DASHBOARD_UNSECURED_ALLOW_ANONYMOUS=true
    restart: unless-stopped
  frontend:
    image: ${REGISTRY_PREFIX:-}yofi-v3-frontend:${SOLUTION_VERSION:-local}
    build:
      context: ../src/FrontEnd.Nuxt
      dockerfile: ./docker/Dockerfile
      tags:
        - ${REGISTRY_PREFIX:-}yofi-v3-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:5001
        - NUXT_PUBLIC_SOLUTION_VERSION=${SOLUTION_VERSION:-container}
        - NUXT_PUBLIC_APPLICATION_INSIGHTS_CONNECTION_STRING=${APPLICATIONINSIGHTS_CONNECTION_STRING:-}
    restart: unless-stopped
    ports:
      - '5000:80'
    depends_on:
      backend:
        condition: service_healthy
  backend:
    image: ${REGISTRY_PREFIX:-}yofi-v3-backend:${SOLUTION_VERSION:-local}
    build:
      context: ..
      dockerfile: ./docker/BackEnd.dockerfile
      tags:
        - ${REGISTRY_PREFIX:-}yofi-v3-backend:latest
      args:
        - SOLUTION_VERSION=${SOLUTION_VERSION:-container}
    environment:
      - ASPNETCORE_ENVIRONMENT=Container
      - STARTUP__ALLOWEDCORSORIGINS__0=http://localhost:5000
      - APPLICATION_INSIGHTS_CONNECTION_STRING=${APPLICATIONINSIGHTS_CONNECTION_STRING:-}
      - OTEL_EXPORTER_OTLP_ENDPOINT=http://dashboard:18889
      - OTEL_EXPORTER_OTLP_PROTOCOL=grpc
      - OTEL_SERVICE_NAME=yofi-backend
      - ConnectionStrings__DefaultConnection=Host=db;Database=db;Username=postgres;Password=development
      - IDENTITYSEEDER__ENVIRONMENT__USERS__0__PASSWORD=${TESTPWORD:-}
    restart: unless-stopped
    ports:
      - '5001:8080'
    depends_on:
      dashboard:
        condition: service_started
      db:
        condition: service_healthy
  db:
    image: postgres:15-alpine
    tmpfs:
      - /var/lib/postgresql/data
    restart: unless-stopped
    environment:
      - POSTGRES_PASSWORD=development
      - POSTGRES_DB=db
      - POSTGRES_USER=postgres
      - PGUSER=postgres
    healthcheck:
      test: [ "CMD", "pg_isready", "-h", "127.0.0.1", "-U", "postgres", "-d", "db" ]
      interval: 1s
      timeout: 5s
      retries: 10
services:
  backend:
    image: docker.io/jcoliz/yofi-v3-backend:ci-4481@sha256:077f2b81cdfd4ee400e791c7736214fc2177921f35ab807e73708324711e6480
  dashboard:
    image: mcr.microsoft.com/dotnet/aspire-dashboard:13@sha256:e2b7cf9a4ead932de46c6fa2a289c7d6159cfcf06a51aa65f38253a8fae75407
  db:
    image: docker.io/library/postgres:15-alpine@sha256:23799e521dee9265a8b388ecf3bc0f1eaa34b95be67f5a76af4f8f6adb44c720
  frontend:
    image: docker.io/jcoliz/yofi-v3-frontend:ci-4481@sha256:9e2220c45f46e941786bcf83d36c1d9e5e774df385490a89cf0415933836e03b

Docker commands

docker compose -f oci://jcoliz/yofi-v3: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

15056

Last Updated

2 days

Image

YoFi.V3 backend API, a modern .NET 10 REST API for personal finance management.


Pulls

4.0K

Stars

0

Last Updated

about 4 hours

Image

YoFi.V3 frontend application, a modern Vue.js/Nuxt web interface for personal finance management.


Pulls

4.0K

Stars

0

Last Updated

about 4 hours