Jafner.net/homelab/fighter/config/megan-portfolio/docker-compose.yml

41 lines
1.0 KiB
YAML
Raw Normal View History

2024-02-15 02:09:59 -08:00
version: '3.9'
2022-07-16 00:21:10 -07:00
services:
2022-07-16 16:16:55 -07:00
megan-portfolio:
2024-07-16 14:25:20 -07:00
image: wordpress@sha256:f468bab53528df6f87dfe11a80de26eff57e0f515e243d9dec73a02c80c273a7
2022-07-16 16:16:55 -07:00
container_name: wordpress_megan-portfolio
restart: "no"
2022-11-01 00:33:54 -07:00
env_file:
- path: ./megan-portfolio.env
required: true
2022-07-16 16:16:55 -07:00
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
2022-07-16 16:16:55 -07:00
networks:
- web
- portfolio
depends_on:
2022-07-16 16:18:44 -07:00
- megan-portfolio_db
2022-07-16 16:18:27 -07:00
megan-portfolio_db:
2024-07-16 14:25:20 -07:00
image: mysql@sha256:4bc6bc963e6d8443453676cae56536f4b8156d78bae03c0145cbe47c2aad73bb
2022-07-16 16:18:27 -07:00
container_name: wordpress_megan-portfolio-db
2022-07-16 16:16:55 -07:00
restart: "no"
networks:
- portfolio
2022-11-01 00:33:54 -07:00
env_file:
- path: ./megan-portfolio-db.env
required: true
2022-07-16 16:16:55 -07:00
volumes:
- ${DOCKER_DATA}/db:/var/lib/mysql
labels:
- traefik.enable=false
2022-07-16 00:21:10 -07:00
2022-07-16 16:17:27 -07:00
networks:
web:
external: true
portfolio: