made a lot of changes to accomodate running the same app for differnt projects.

This commit is contained in:
2020-04-24 10:43:33 -07:00
parent 206ed58eb9
commit 27e3c4e614
36 changed files with 897 additions and 121 deletions
+5 -4
View File
@@ -8,9 +8,9 @@
version: '2'
networks:
traefik_web:
admin_web:
external:
name: ${NETWORK_NAME}
name: admin_web
services:
@@ -20,12 +20,13 @@ services:
image: phpmyadmin/phpmyadmin:${PHPMYADMIN_V}
environment:
- PMA_ARBITRARY=1
- UPLOAD_LIMIT=200M
restart: unless-stopped
networks:
- ${NETWORK_NAME}
- admin_web
labels:
- "traefik.enable=true"
- "traefik.http.routers.${PREFIX}_phpmyadmin.rule=Host(`${DOMAIN_NAME}`)"
- "traefik.http.routers.${PREFIX}_phpmyadmin.rule=Host(`${PHPMYADMIN_DOMAIN_NAME}`)"
- "traefik.http.routers.${PREFIX}_phpmyadmin.entrypoints=websecure"
- "traefik.http.routers.${PREFIX}_phpmyadmin.tls=true"
- "traefik.http.services.${PREFIX}_phpmyadmin.loadbalancer.server.port=80"