Skip to content

🐳 Dockerized version of Repman by @buddy

License

Notifications You must be signed in to change notification settings

dockette/repman

Repository files navigation

Dockette / Repman

🐘 Repmang (packagist proxy and host for private packages)

🕹 f3l1x.io | 💻 f3l1x | 🐦 @xf3l1x


Usage

Latest version: tests/dockette/repman:1.4.0

Example of docker-compose.yml

version: '3.4'

x-restart-policy: &restart_policy
  restart: unless-stopped

services:
  database:
    << : *restart_policy
    image: postgres:11.7-alpine
    environment:
      POSTGRES_USER: main
      POSTGRES_PASSWORD: main
      POSTGRES_DB: main
    healthcheck:
      test: [ "CMD", "pg_isready", "-q", "-d", "main", "-U", "main" ]
      interval: 10s
      timeout: 5s
      retries: 5
    volumes:
      - .docker/postgres:/var/lib/postgresql/data

  app:
    << : *restart_policy
    image: dockette/repman:1.4.0
    command: /entrypoint-app.sh
    env_file: .env.docker
    ports:
      - 8080:80
    volumes:
      - .docker/app/var:/app/var
      - .docker/nginx/logs:/var/log/nginx
    depends_on:
      database:
        condition: service_healthy

  consumer:
    << : *restart_policy
    image: dockette/repman:1.4.0
    command: /entrypoint-consumer.sh
    env_file: .env.docker
    volumes:
      - .docker/app/var:/app/var
    depends_on:
      - app

  cron:
    << : *restart_policy
    image: dockette/repman:1.4.0
    command: /entrypoint-cron.sh
    env_file: .env.docker
    volumes:
      - .docker/app/var:/app/var
    depends_on:
      - app

Documentation

This repository contains simplified Repman prebuild for Docker.

Development

See how to contribute to this package.

This package is currently maintaining by these authors.


Consider to support f3l1x. Also thank you for using this package.

About

🐳 Dockerized version of Repman by @buddy

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published