Skip to content
This repository was archived by the owner on Sep 1, 2025. It is now read-only.

Commit 07c8ce5

Browse files
committed
[
1 parent 4f0c31b commit 07c8ce5

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

docker-compose.yml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -124,27 +124,20 @@ services:
124124
retries: 3
125125
start_period: 10s
126126

127-
# phpMyAdmin (only in development)
128-
phpmyadmin:
129-
image: phpmyadmin/phpmyadmin:5.2
130-
container_name: accounting_panel_phpmyadmin
127+
# Adminer (Database Management - lightweight alternative to phpMyAdmin)
128+
adminer:
129+
image: adminer:4.8.1-standalone
130+
container_name: accounting_panel_adminer
131131
restart: unless-stopped
132132
depends_on:
133133
database:
134134
condition: service_healthy
135-
env_file:
136-
- .env
137135
environment:
138-
PMA_HOST: database
139-
PMA_PORT: 3306
140-
PMA_USER: root
141-
PMA_PASSWORD: ${DB_ROOT_PASSWORD}
142-
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD}
143-
UPLOAD_LIMIT: 64M
144-
MEMORY_LIMIT: 256M
145-
PMA_ARBITRARY: 1
136+
ADMINER_DEFAULT_SERVER: database
137+
ADMINER_DESIGN: pepa-linha
138+
ADMINER_PLUGINS: tables-filter tinymce
146139
ports:
147-
- "${PHPMYADMIN_PORT:-8080}:80"
140+
- "${PHPMYADMIN_PORT:-8080}:8080"
148141
networks:
149142
- accounting_network
150143
profiles:

0 commit comments

Comments
 (0)