Sign inSign up

alvarodv24/medical-manager-compose:0.6

Manifest digest

sha256:b0aafc401c057f46008800de19b6f60b1c2789fd7d9b1f6526d22a9e65918cee

Last pushed

4 months by alvarodv24

Type

Compose

Manifest digest

sha256:b0aafc401c057f46008800de19b6f60b1c2789fd7d9b1f6526d22a9e65918cee

Compose file content

name: medical-manager
services:
  app:
    build:
      context: /home/runner/work/medical_manager/medical_manager
      dockerfile: backend/docker/Dockerfile
    container_name: medical-manager-app
    depends_on:
      db:
        condition: service_healthy
        required: true
    environment:
      DB_HOST: db
      FRONTEND_LOGO_LOCATION: file:/app/frontend/static/img/logo.png
      FRONTEND_STATIC_LOCATION: file:/app/frontend/static/
      FRONTEND_TEMPLATES_LOCATION: file:/app/frontend/templates/
      JPA_DDL_AUTO: update
      MEDICAL_MANAGER_INITIAL_ADMIN_EMAIL: [email protected]
      SERVER_PORT: "443"
      SSL_ENABLED: "true"
    image: docker.io/alvarodv24/medical-manager:0.6
    networks:
      default: null
    ports:
      - mode: ingress
        target: 443
        published: "443"
        protocol: tcp
  db:
    container_name: medical-manager-db
    environment:
      POSTGRES_DB: medical_manager
      POSTGRES_PASSWORD: postgres
      POSTGRES_USER: postgres
    healthcheck:
      test:
        - CMD-SHELL
        - pg_isready -U postgres -d medical_manager
      timeout: 5s
      interval: 10s
      retries: 10
    image: postgres:16
    networks:
      default: null
    ports:
      - mode: ingress
        target: 5432
        published: "5432"
        protocol: tcp
    volumes:
      - type: volume
        source: medical-manager-db-data
        target: /var/lib/postgresql/data
        volume: {}
networks:
  default:
    name: medical-manager_default
volumes:
  medical-manager-db-data:
    name: medical-manager_medical-manager-db-data

Docker commands

docker compose -f oci://alvarodv24/medical-manager-compose:0.6 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

15028

Last Updated

5 days

Image


Pulls

3.1K

Stars

0

Last Updated

4 months