added adminer and minor cleanup

This commit is contained in:
2025-01-02 10:28:43 -08:00
parent 789befa7a1
commit c29081b900
6 changed files with 33 additions and 4 deletions
+2 -2
View File
@@ -29,8 +29,6 @@ You will likely want to override a number of things in the project folder, such
Here is an example of how your project's docker-compose file might look: Here is an example of how your project's docker-compose file might look:
```yaml ```yaml
version: '3.4'
networks: networks:
proxy: proxy:
external: true external: true
@@ -51,3 +49,5 @@ with the .env file:
```text ```text
COOKBOOK=/git-repos/docker-compose-cookbooks COOKBOOK=/git-repos/docker-compose-cookbooks
``` ```
Now use ```docker compose up -d``` to start the project.
+4
View File
@@ -0,0 +1,4 @@
# Adminer
Work in Progress, dockerhub says unmaintained.
Db gui
+14
View File
@@ -0,0 +1,14 @@
---
services:
adminer:
image: adminer:latest
container_name: adminer
environment:
ADMINER_DEFAULT_SERVER: ${ADMINER_DEFAULT_SERVER:-mariadb}
restart: unless-stopped
security_opt:
- no-new-privileges:true
read_only: true
tmpfs:
- /var/lib/php:rw,noexec,nosuid,size=64M
+7
View File
@@ -0,0 +1,7 @@
version: '3.4'
services:
mariadb:
extends:
file: ${COOKBOOK}/adminer/docker-compose.yml
service: adminer
+6
View File
@@ -0,0 +1,6 @@
COOKBOOK=/git/docker-compose-cookbooks #HELP: cookbooks
VOL_PATH=./data/ #HELP: volpath
TZ="America/Vancouver"
# ADMINER
ADMINER_DEFAULT_SERVER=mariadb
-2
View File
@@ -1,5 +1,3 @@
version: '3.8'
services: services:
phpmyadmin: phpmyadmin:
image: ${PHPMYADMIN_IMAGE:-phpmyadmin/phpmyadmin:latest} image: ${PHPMYADMIN_IMAGE:-phpmyadmin/phpmyadmin:latest}