Commit d37bae22 authored by Martial Sankar's avatar Martial Sankar
Browse files

etalk-docker configs with database

parents
# HOW TO CREATE AN ETALK USING THE CONTAINER
## FIRST STEP : SETUP DOCKER AND START THE APPLICATION
0. INSTALL docker for your deskstop https://www.docker.com/products/overview
1. Download or clone this repesitory
2. inside the repository, first build the image with :
´´´
$ docker-compose build
´´´
Then, run the etalk application with :
´´´
$ docker-compose up -d
´´´
get your ip with :
´´´
$ docker-machine ip default
´´´
Then go to the URL https://<yourip>:80 for the collection view or https://<yourip>:80/edit for the edit view
## SECOND STEP : MAKE YOU OWN ETALK
To make your own etalk, you can adapt the how-to from the etalk howToMakeAnEtalk.
1. Create and name a folder that will contain the mp3 files in the folder data inside etalkapp/etalk-master/data/
2. go to edit interface https://<yourip>:80/edit and start editing your etalk.
etalkapp:
build: ./etalkapp
ports :
- "88:80"
volumes:
- ./etalkapp/etalk-master/:/var/www/html
links:
- database
phpmyadmin:
image: corbinu/docker-phpmyadmin
ports :
- "8080:80"
environment:
- MYSQL_USERNAME=root
- MYSQL_PASSWORD=1234
links:
- database:mysql
database:
image: mysql:5.5
ports:
- "3306:3306"
volumes:
- ./etalk-db/:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=1234
- MYSQL_DATABASE=mysite
- MYSQL_USER=mysite
- MYSQL_PASSWORD=1234
\ No newline at end of file
default-character-set=latin1
default-collation=latin1_swedish_ci
default-character-set=latin1
default-collation=latin1_swedish_ci
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment