Skip to content
Snippets Groups Projects
Commit 23021b81 authored by Anthony's avatar Anthony
Browse files

Add PHP My Admin via compose and update README.md (No local install working)

parent 24d8bec9
No related branches found
No related tags found
1 merge request!2Draft:Generic api v1
This commit is part of merge request !2. Comments created here will be created in the context of that merge request.
COMPOSE_FILE=docker-compose.yml:ports.yml
# COMPOSE_FILE=docker-compose.yml:ports.yml:phpmyadmin
HOST=0.0.0.0
FLASK_PORT=5000
PHP_MY_ADMIN_PORT=5001
MYSQL_USER=mirador_backend
MYSQL_PASSWORD=randompassword
MYSQL_ROOT_PASSWORD=otherrandompassword
......
......@@ -6,7 +6,7 @@
## Install and run
### local
### local (Not working, cause to mariaddb connexctor, see setup.py)
#### Requirements
......@@ -46,7 +46,7 @@ cp .env.sample .env
docker-compose up
```
Go to [http://localhost:5000/mirador_resource](http://localhost:5000/mirador_resource)
Go to [http://localhost:5000/swagger-ui/](http://localhost:5000/swagger-ui/)
#### Test
......
version: "3"
services:
phpmyadmin:
image: phpmyadmin/phpmyadmin
container_name: pma
links:
- db
environment:
PMA_HOST: db
PMA_PORT: 3306
PMA_ARBITRARY: 1
ports:
- $PHP_MY_ADMIN_PORT:80
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment