Sign inSign up

cometa/front

By cometa

β€’Updated 10 months ago

Image
0

4.4K

cometa/front repository overview

⁠🌐 cometa-front-service

Apache-based front-end reverse proxy and content server for the Cometa microservices platform. Designed to serve static assets, proxy backend traffic to Django, and handle HTTPS termination with flexible mount options.

More details can be seen at the Frontend section on Cometa Rocks GitHub⁠ repo⁠.


⁠🧰 Features

  • Apache HTTP Server (http + https) on ports 80 and 443
  • Acts as a front-end gateway and reverse proxy
  • Accepts inbound connections from:
    • cometa-django-service
    • loadbalancer-service
  • Serves static files (screenshots, videos)
  • Supports custom Apache configurations via mount

β βš™οΈ Configuration

PropertyValue
DNScometa-front-service
Ports80/443
Protocolshttp/https
CPU2 cores
RAM2 GB
Storage3 GB

β πŸ“ Mount Points

External PathInternal Path
./data/cometa/screenshots/screenshots
./data/cometa/videos/videos
/share/front/code/front/apache-conf

All external mounts should reside under /cometadata or a shared volume structure like /share/front.


β πŸ” Firewall Access

Inbound connections are allowed from:

  • cometa-django-service
  • loadbalancer-service

⁠🐳 Usage Example

docker run -d \
  --name cometa-front-service \
  -p 80:80 -p 443:443 \
  -v $(pwd)/data/cometa/screenshots:/screenshots \
  -v $(pwd)/data/cometa/videos:/videos \
  -v /share/front:/code/front/apache-conf \
  httpd:latest

You can substitute the base image with a custom Apache Dockerfile if using advanced modules.


β πŸ› οΈ Best For

  • Front-end static content serving
  • Reverse proxying to Django backend
  • HTTPS traffic termination with Apache config customization

Tag summary

Content type

Image

Digest

sha256:ce85794c3…

Size

122.3 MB

Last updated

10 months ago

docker pull cometa/front