Jafner.net/homelab/fighter/config/megan-portfolio/docker-compose.yml
Joey Hafner 6086222503
Reorganize root level of repo.
- Move homelab, Jafner.dev (now called blog) to root.
- Rename "archived projects" -> "archive"
- Rename "active projects" -> "projects"
- Rename "jafner-homebrew" -> "5ehomebrew"
- Rename "docker-llm-amd" -> "local-ai"
2024-07-16 12:17:55 -07:00

41 lines
935 B
YAML

version: '3.9'
services:
megan-portfolio:
image: wordpress
container_name: wordpress_megan-portfolio
restart: "no"
env_file:
- path: ./megan-portfolio.env
required: true
volumes:
- ${DOCKER_DATA}/html:/var/www/html
- ./upload.ini:/usr/local/etc/php/conf.d/uploads.ini
#labels:
# - traefik.http.routers.megan-portfolio.rule=Host(`meganmcdonough.art`)
# - traefik.http.routers.megan-portfolio.tls.certresolver=lets-encrypt
networks:
- web
- portfolio
depends_on:
- megan-portfolio_db
megan-portfolio_db:
image: mysql:5.7
container_name: wordpress_megan-portfolio-db
restart: "no"
networks:
- portfolio
env_file:
- path: ./megan-portfolio-db.env
required: true
volumes:
- ${DOCKER_DATA}/db:/var/lib/mysql
labels:
- traefik.enable=false
networks:
web:
external: true
portfolio: