Added learning with texts on port 8889
This commit is contained in:
30
learning_with_texts/docker-compose.yml
Normal file
30
learning_with_texts/docker-compose.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
# -*- mode: yaml, yaml-indent-offset: 2 -*-
|
||||
# docker-compose up pool
|
||||
|
||||
version: '3.3'
|
||||
|
||||
services:
|
||||
lwt:
|
||||
build: "."
|
||||
depends_on:
|
||||
- db
|
||||
links:
|
||||
- "db"
|
||||
volumes:
|
||||
- "./lwt_html:/var/www/html"
|
||||
ports:
|
||||
- "0.0.0.0:8889:80"
|
||||
restart: always
|
||||
|
||||
db:
|
||||
image: mysql:5.7
|
||||
volumes:
|
||||
- db_data:/var/lib/mysql
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_DATABASE: "lwt"
|
||||
MYSQL_ROOT_PASSWORD: "root"
|
||||
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
|
||||
|
||||
volumes:
|
||||
db_data: {}
|
||||
Reference in New Issue
Block a user