Skip to content

bgockeln/flask-docker-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Logging Project

Python License Status

For German version of this README, see README_DE.md

This project is a small website logging system I developed to gain practical experience with Linux servers, Docker, and Python. It consists of two Docker containers:

  1. Web container: Hosts a simple website where visitors can check their IP address.
  2. Logger container: Records each request with a timestamp in a .txt file.

Development was done on a virtual Ubuntu server in VirtualBox and later tested on a Debian server, with all connections made via SSH from a WSL-Debian terminal on Windows. The project was intentionally carried out in the terminal to simulate realistic server administration.

Note: The HTML and CSS files were entirely generated by ChatGPT.

How to use

Prerequisites

  • Flask, Docker & Docker Compose installed

Run with Docker Compose

docker-compose up --build

Screenshots

Website:

Website

Website2

Sample Log:

SampleLog

About

Dockerized Flask project: IP lookup website + logging service.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors