Skip to content

jsz4n/lwt-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Learning With Texts with Docker

LWT-docker sets up a container running an apache2 server with learning with texts.

The images are also available on DockerHub as jsz4n/lwt.

(The first version was/is still available here: suzanje/lwt)

Usage

if you cloned this repo don't forget to build the image before running it

The recommended way to run this docker file is by using a docker-compose.yml file

version: '3'

services:
  mariadb:
    image: mariadb:10.6
    restart: always
    environment:
      - "MARIADB_USER=lwt"
      - "MARIADB_PASSWORD=qwerty"
    volumes:
      - media/:/var/lib/mysql
  lwt:
    image: lwt:latest
    restart: always
    environment:
      - "MARIADB_SERVER=mariadb"
      - "MARIADB_USER=lwt"
      - "MARIADB_PASSWORD=qwerty"
    ports:
      - "8080:80"
    depends_on:
      - mariadb

You can also probably run it with docker-run like the following

docker run -d --port "80:8080" --link mariadb_container -e MARIADB_SERVER=db -e MARIADB_USER=lwt -e MARIADB_PASSWORD=qwerty lwt

About

Learning With Texts with Docker

Resources

License

Stars

Watchers

Forks

Packages

No packages published