Sign inSign up

njulioiyoo/dbc-evendor

By njulioiyoo

Updated 5 months ago

Image
0

811

njulioiyoo/dbc-evendor repository overview

dbc-evendor

Production-ready Docker image untuk aplikasi eVendor dengan stack PHP dan Nginx dalam satu container.
Image ini cocok untuk deployment sederhana, termasuk environment dengan reverse proxy seperti Traefik.

Quick Info

  • Image: njulioiyoo/dbc-evendor
  • Tag utama: latest
  • Internal port: 80
  • Process manager: supervisord

Included Stack

  • PHP 8.0-fpm
  • Nginx
  • Supervisor
  • Composer 2
  • Node.js 16 + Yarn
  • Microsoft ODBC Driver 17 (SQL Server)
  • PHP extensions: pdo, pdo_mysql, mbstring, exif, pcntl, bcmath, gd, zip, xml
  • PECL extensions: sqlsrv, pdo_sqlsrv, redis

Production Usage (Docker Compose)

Contoh minimal untuk menjalankan image:

services:
  evendor:
    image: njulioiyoo/dbc-evendor:latest
    container_name: evendor-prod
    env_file:
      - .env
    volumes:
      - storage:/var/www/html/storage
    labels:
      - "traefik.enable=true"
      - "traefik.docker.network=traefik-public"
      - "traefik.http.routers.evendor.rule=Host(`evendor.web.local`)"
      - "traefik.http.routers.evendor.entrypoints=web"
      - "traefik.http.services.evendor.loadbalancer.server.port=80"
    extra_hosts:
      - "host.docker.internal:host-gateway"
    networks:
      - traefik-public

volumes:
  storage:

networks:
  traefik-public:
    external: true

Jalankan container:

docker compose -f docker/production/docker-compose.yml up -d

Runtime Notes

  • Nginx melayani HTTP pada port internal 80, lalu meneruskan request ke PHP-FPM.
  • Volume storage digunakan agar data runtime aplikasi tetap persisten.
  • Pastikan network eksternal traefik-public sudah tersedia jika deployment memakai Traefik.
  • Pastikan file .env sudah sesuai untuk environment production.

Maintainer

njulioiyoo

Tag summary

Content type

Image

Digest

sha256:d09923fe4

Size

423.5 MB

Last updated

5 months ago

docker pull njulioiyoo/dbc-evendor