Skip to content

mazz/websauna-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerized Websauna application

This is the application from cookiecutter-websauna-app, running in Docker containers.

Rationale: Websauna has external dependencies (Postgres, Redis) which are easier managed using docker.

Running

Requires docker and docker-compose

docker-compose up

Then access the app at http://localhost:80

Developing

Bash into container:

docker-compose run --rm --service-ports app bash

Run ws-* commands as usual.

Env variables

POSTGRES_PASSWORD POSTGRES_USER POSTGRES_DB SQLALCHEMY_DATABASE_URI - postgres credentials

CREATE_DEFAULT_USER - if true creates default user on startup

APP_DEFAULT_USER, APP_DEFAULT_PASSWORD - default user credentials

About

A Dockerized basic websauna application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 67.4%
  • HTML 20.8%
  • Mako 6.5%
  • Shell 4.4%
  • CSS 0.9%