Skip to content

Handle Complex Docker Compose #14

@kemboi22

Description

@kemboi22
  • Ability to handle complex docker compose such as
x-op-app-environment: &x-op-app-environment
  environment:
    PWP__ENABLE_LOGINS: true
    PWP__ENABLE_FILE_PUSHES: true
    PWP__FILES__STORAGE: local
    PWP__ENABLE_QR_PUSHES: true
    PWP__ENABLE_URL_PUSHES: true


services:
  pwpush:
    
    image: docker.io/pglombardo/pwpush:stable
    restart: unless-stopped
    ports:
      - "80:80"
      - "443:443"
      # - Port 5100: Internal application port (exposed but typically not mapped to host)

    volumes:
      - pwpush-storage:/opt/PasswordPusher/storage # Store SQLite3 database and file uploads on a persistent volume

    # Health check to monitor service status
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:5100/up"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 40s

    <<: *x-op-app-environment

volumes:

  pwpush-storage: # SQLite3 database and file uploads - persists uploaded files pushed through the application

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions