Sign inSign up

pymrdocker/pos_v2

By pymrdocker

Updated 6 months ago

Academic container for Python WSGI backend, Nginx, basic API, Bootstrap frontend, JS environment.

Image
Integration & delivery
API management
Databases & storage
1

613

pymrdocker/pos_v2 repository overview

note: always use the latest tag to avoid errors and updated.

# Docker Image Overview

This project is an academic container designed to demonstrate backend development using Python WSGI, with Nginx as a reverse proxy. It includes a basic API layer, along with a simple frontend interface built using Bootstrap and minimal JavaScript. The setup provides a practical environment for understanding how web servers, application servers, and client-side components interact in a full-stack architecture.


## Create a docker-compose.yml file anywhere in your windows or linux machine

```bash
version: "3.9"

services:
  pos_app:
    image: pymrdocker/pos_v2:1.3
    container_name: fsuu_store
    ports:
      - "9090:80"   # Web (HTTP)
      - "2244:22"   # SSH
    restart: always
```
## Build and Run

```bash
docker compose up -d --build 

Login to terminal

ssh root@localhost -p 2244
SSH password: coopstore2026

Move to root app

cd /
cd /app/app

run gunicorn

gunicorn -b 127.0.0.1 wsgi:app
http://localhost:9090/

Sample Interface POS System

Tag summary

Content type

Image

Digest

sha256:01c8b298f

Size

368.5 MB

Last updated

6 months ago

docker pull pymrdocker/pos_v2:1.3