Skip to content

Commit

Permalink
feat(adminer): switch to Adminer Evo, pre-login to database servers
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmirloup committed Aug 28, 2024
1 parent 4a4126b commit 59464c9
Show file tree
Hide file tree
Showing 6 changed files with 2,313 additions and 432 deletions.
28 changes: 17 additions & 11 deletions database/adminer/adminer.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
services:
adminer_php:
image: lephare/php:8.3
volumes:
- "./database/adminer/public:/var/www/adminer:ro"
networks:
- private

adminer:
restart: always
image: adminer
restart: unless-stopped
image: lephare/apache:2.4
volumes_from:
- adminer_php:ro
labels:
caddy: adminer.${DOCKER_HOST_SUFFIX:-local}
caddy.tls: internal
caddy.reverse_proxy: "{{upstreams 8080}}"
caddy.reverse_proxy: "{{ upstreams }}"
environment:
DOCUMENT_ROOT: /var/www/adminer
PHP_CONTAINER_NAME: adminer_php
networks:
public:
private:
healthcheck:
test: ["CMD", "php", "-r", "@file_get_contents('http://localhost:8080') or exit(1);"]
interval: 10s
timeout: 5s
retries: 5
start_period: 30s
- public
- private
Loading

0 comments on commit 59464c9

Please sign in to comment.