Sign inSign up

jcoliz/yofi-v3:latest

Manifest digest

sha256:1947ca65dbd156362ce20cc33543812fa8be3c3edfd25079fb237c3b419c7b0e

Last pushed

about 15 hours by jcoliz

Type

Compose

Manifest digest

sha256:1947ca65dbd156362ce20cc33543812fa8be3c3edfd25079fb237c3b419c7b0e

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-4456@sha256:d74be1772ed1fb7ffa476a65f689668340f4885ba60da7d8697b50c33eaf8051
  dashboard:
    image: mcr.microsoft.com/dotnet/aspire-dashboard:13@sha256:e69a221d6d4ce3ee9bd74b9474c073dd154ef8df7eaa535c2f50f4a554adce54
  db:
    image: docker.io/library/postgres:15-alpine@sha256:eab009ce9447a891d9482702d370bbf132c18563bb87cfdcc2b815c6d3b0372f
  frontend:
    image: docker.io/jcoliz/yofi-v3-frontend:ci-4456@sha256:c485a9652da102eeec0c85cc10d7a334b82a1357e3d88f08a83a1e57a950d495

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

15051

Last Updated

about 15 hours

Image

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


Pulls

2.2K

Stars

0

Last Updated

about 15 hours

Image

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


Pulls

2.2K

Stars

0

Last Updated

about 15 hours