docker dev: Add config for phpMyAdmin, cleanup
This commit is contained in:
parent
87b50507f3
commit
ab967c6f9c
|
@ -88,6 +88,11 @@ docker compose exec es_workspace yarn build:watch
|
|||
docker compose exec -e THEMES=0,1 es_workspace yarn build:watch
|
||||
```
|
||||
|
||||
It might also be useful to have an interactive database interface for which a phpMyAdmin instance can be startet at [http://localhost:8888](http://localhost:8888).
|
||||
```bash
|
||||
docker compose --profile dev up
|
||||
```
|
||||
|
||||
## Localhost
|
||||
You can find your local Engelsystem on [http://localhost:5080](http://localhost:5080).
|
||||
|
||||
|
|
|
@ -21,9 +21,6 @@ services:
|
|||
env_file: deployment.env
|
||||
ports:
|
||||
- "5080:80"
|
||||
networks:
|
||||
- database
|
||||
- internet
|
||||
depends_on:
|
||||
- es_database
|
||||
es_workspace:
|
||||
|
@ -44,11 +41,17 @@ services:
|
|||
ENVIRONMENT: development
|
||||
MAIL_DRIVER: log
|
||||
APP_NAME: Engelsystem DEV
|
||||
networks:
|
||||
- database
|
||||
- internet
|
||||
depends_on:
|
||||
- es_database
|
||||
es_phpmyadmin:
|
||||
image: phpmyadmin
|
||||
environment:
|
||||
PMA_HOST: es_database
|
||||
ports:
|
||||
- "8888:80"
|
||||
depends_on:
|
||||
- es_database
|
||||
profiles: [ dev ]
|
||||
es_database:
|
||||
image: mariadb:10.2
|
||||
environment:
|
||||
|
@ -59,12 +62,5 @@ services:
|
|||
MYSQL_INITDB_SKIP_TZINFO: "yes"
|
||||
volumes:
|
||||
- db:/var/lib/mysql
|
||||
networks:
|
||||
- database
|
||||
volumes:
|
||||
db: {}
|
||||
|
||||
networks:
|
||||
database:
|
||||
internal: true
|
||||
internet:
|
||||
|
|
Loading…
Reference in New Issue