You've already forked wc-bootstrap
Refine Docker stack configuration
- Use mariadb:latest and wordpress:php8.4 floating tags - Add private registry image name (hub.bundespruefstelle.ch/woocommerce) - Add restart policies (always for prod, unless-stopped for dev) - Move .env-dist to project root Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
# Database
|
||||
MYSQL_ROOT_PASSWORD=rootpass
|
||||
MYSQL_DATABASE=wordpress
|
||||
MYSQL_USER=wordpress
|
||||
MYSQL_PASSWORD=wordpress
|
||||
|
||||
# WordPress
|
||||
WP_PORT=8080
|
||||
|
||||
# Auto-setup (runs on first boot, set to 0 to disable)
|
||||
WP_AUTO_SETUP=1
|
||||
WP_URL=http://localhost:8080
|
||||
WP_TITLE=WC Bootstrap Dev
|
||||
WP_ADMIN_USER=admin
|
||||
WP_ADMIN_PASSWORD=admin
|
||||
WP_ADMIN_EMAIL=admin@example.com
|
||||
|
||||
# Build args (used during `docker compose build`)
|
||||
# WOOCOMMERCE_VERSION=latest
|
||||
@@ -48,7 +48,7 @@ RUN composer install --no-dev --optimize-autoloader --no-interaction
|
||||
###############################################################################
|
||||
# Stage 4 — Final WordPress image
|
||||
###############################################################################
|
||||
FROM wordpress:6.9.1-php8.4-apache AS wp_runtime
|
||||
FROM wordpress:php8.4 AS wp_runtime
|
||||
|
||||
RUN curl -sSfL -o /usr/local/bin/wp \
|
||||
https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \
|
||||
|
||||
Reference in New Issue
Block a user