mirror of
https://github.com/casjaysdevdocker/wordpress
synced 2026-05-15 02:47:46 -04:00
345a2b2c2651c0077d132c7fb199628a51539cfe
Some checks failed
release-tag / release-image (push) Has been cancelled
Update the embedded entrypoint copies in rootfs/ to match the upstream template change. Internal state files renamed to dotfiles so they're not matched by `/run/*.pid` cleanup globs: - /run/init.d/entrypoint.pid -> /run/.entrypoint.pid - /run/no_exit.pid -> /run/.no_exit.pid - /run/backup.pid -> /run/.backup.pid - /run/__start_init_scripts.pid -> /run/.start_init_scripts.pid Per-service PIDs in /run/init.d/ are unchanged. rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/etc/docker/functions/entrypoint.sh rootfs/usr/local/share/template-files/config/env/default.sample rootfs/usr/local/share/template-files/config/env/examples/zz-entrypoint.sh
👋 wordpress Readme 👋
wordpress README
Run container
via command line
docker run -d \
--restart always \
--name wordpress \
--hostname wordpress \
-e TZ=${TIMEZONE:-America/New_York} \
-v $PWD/wordpress/data:/var/lib/mysql \
-v $PWD/wordpress/config:/usr/html \
-v $PWD/wordpress/devel:/var/lib/wordpress/devel \
-p 8081:80 \
casjaysdev/wordpress:latest
via docker-compose
version: "2"
services:
wordpress:
image: casjaysdevdocker/wordpress
container_name: wordpress
environment:
- TZ=America/New_York
- HOSTNAME=wordpress
volumes:
- $HOME/.local/share/docker/storage/wordpress/data:/var/lib/mysql
- $HOME/.local/share/docker/storage/wordpress/config:/usr/html
ports:
- 80:80
restart: always
Authors
Description
Languages
Shell
91.7%
Dockerfile
8.3%