Sign inSign up

jcoliz/yofi-v3:latest

Manifest digest

sha256:b4e8c047a4644dec3bb04d992413dd6272ee20318ee79ac26986e610fe2f82c7

Last pushed

about 7 hours by jcoliz

Type

Compose

Manifest digest

sha256:b4e8c047a4644dec3bb04d992413dd6272ee20318ee79ac26986e610fe2f82c7

Compose file content

name: yofi-v3
services:
  dashboard:
    image: mcr.microsoft.com/dotnet/aspire-dashboard:13
    ports:
      - '18788: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-4461@sha256:ac4271e2783e53fc4a1c72cab0cc67bf7e0b9ef5f4f3195eaf524d1c10aefd19
  dashboard:
    image: mcr.microsoft.com/dotnet/aspire-dashboard:13@sha256:e69a221d6d4ce3ee9bd74b9474c073dd154ef8df7eaa535c2f50f4a554adce54
  db:
    image: docker.io/library/postgres:15-alpine@sha256:fc41cfa8a90c09e84dd723ee764be4b2f59ba6c98b1e5b3fca540adddf68a5ba
  frontend:
    image: docker.io/jcoliz/yofi-v3-frontend:ci-4461@sha256:849b1d0daf98e9475453919a4ba00850dea9c3871af4389350ef8ae8a7130cc6

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

15052

Last Updated

about 2 hours

Image

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


Pulls

2.7K

Stars

0

Last Updated

about 7 hours

Image

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


Pulls

2.7K

Stars

0

Last Updated

about 7 hours