2024-05-28 12:34:19 -07:00
|
|
|
name: "jafner-dev"
|
|
|
|
services:
|
|
|
|
jafner-dev:
|
2024-07-22 10:26:29 -07:00
|
|
|
image: wordpress:latest
|
2024-05-28 12:34:19 -07:00
|
|
|
container_name: jafner-dev
|
|
|
|
env_file:
|
|
|
|
- path: ./jafner-dev.env
|
|
|
|
required: true
|
|
|
|
- path: ./jafner-dev_secrets.env
|
|
|
|
required: false
|
|
|
|
restart: "no"
|
|
|
|
volumes:
|
|
|
|
- ${DOCKER_DATA}/html:/var/www/html
|
|
|
|
- ./upload.ini:/usr/local/etc/php/conf.d/uploads.ini
|
|
|
|
networks:
|
|
|
|
- web
|
|
|
|
- jafner-dev
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
labels:
|
|
|
|
- traefik.http.routers.jafner-dev.rule=Host(`jafner.dev`)
|
|
|
|
- traefik.http.routers.jafner-dev.tls.certresolver=lets-encrypt
|
|
|
|
db:
|
2024-07-22 10:26:29 -07:00
|
|
|
image: mysql:latest
|
2024-05-28 12:34:19 -07:00
|
|
|
container_name: jafner-dev_db
|
|
|
|
restart: "no"
|
|
|
|
networks:
|
|
|
|
- jafner-dev
|
|
|
|
env_file:
|
|
|
|
- path: ./db.env
|
|
|
|
required: true
|
|
|
|
- path: ./db_secrets.env
|
|
|
|
required: false
|
|
|
|
volumes:
|
|
|
|
- ${DOCKER_DATA}/db:/var/lib/mysql
|
|
|
|
labels:
|
|
|
|
- traefik.enable=false
|
|
|
|
|
|
|
|
networks:
|
|
|
|
web:
|
|
|
|
external: true
|
|
|
|
jafner-dev:
|