Cleaned up all compose files

cleaned up all the files.
they should now all work for multiple projects.
This commit is contained in:
2020-04-16 21:13:59 -07:00
parent c2dd16ebeb
commit 206ed58eb9
28 changed files with 446 additions and 106 deletions
+31
View File
@@ -0,0 +1,31 @@
################################################################################
# phpmyadmin
# make sure you use the $PREFIX from .env for project_name
# docker-compose -p project_name up -d
#
# Version 1
################################################################################
version: '2'
networks:
traefik_web:
external:
name: ${NETWORK_NAME}
services:
# It's only exposed if someone knows the ip
phpmyadmin:
#https://hub.docker.com/r/phpmyadmin/phpmyadmin/tags
image: phpmyadmin/phpmyadmin:${PHPMYADMIN_V}
environment:
- PMA_ARBITRARY=1
restart: unless-stopped
networks:
- ${NETWORK_NAME}
labels:
- "traefik.enable=true"
- "traefik.http.routers.${PREFIX}_phpmyadmin.rule=Host(`${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"