Compare commits
2
Commits
624de0cae6
...
c3b16b68c5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c3b16b68c5 | ||
|
|
c0d1dc85c4 |
No files matched your search
File renamed without changes.
@@ -1,9 +1,11 @@
|
|||||||
services:
|
services:
|
||||||
db:
|
db:
|
||||||
container_name: woocommerce-db
|
container_name: woocommerce-db
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
wordpress:
|
wordpress:
|
||||||
container_name: woocommerce
|
container_name: woocommerce
|
||||||
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ../wp-bootstrap:/var/www/html/wp-content/themes/wp-bootstrap
|
- ../wp-bootstrap:/var/www/html/wp-content/themes/wp-bootstrap
|
||||||
- .:/var/www/html/wp-content/themes/wc-bootstrap
|
- .:/var/www/html/wp-content/themes/wc-bootstrap
|
||||||
|
|||||||
+4
-1
@@ -1,6 +1,7 @@
|
|||||||
services:
|
services:
|
||||||
db:
|
db:
|
||||||
image: mariadb:11
|
image: mariadb:latest
|
||||||
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- db_data:/var/lib/mysql
|
- db_data:/var/lib/mysql
|
||||||
environment:
|
environment:
|
||||||
@@ -15,6 +16,8 @@ services:
|
|||||||
retries: 5
|
retries: 5
|
||||||
|
|
||||||
wordpress:
|
wordpress:
|
||||||
|
image: hub.bundespruefstelle.ch/woocommerce:latest
|
||||||
|
restart: always
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
|
|||||||
+1
-1
@@ -48,7 +48,7 @@ RUN composer install --no-dev --optimize-autoloader --no-interaction
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
# Stage 4 — Final WordPress image
|
# 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 \
|
RUN curl -sSfL -o /usr/local/bin/wp \
|
||||||
https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \
|
https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
# @since 0.1.0
|
# @since 0.1.0
|
||||||
#}
|
#}
|
||||||
|
|
||||||
{% extends "base.html.twig" %}
|
{% extends "wc-base.html.twig" %}
|
||||||
|
|
||||||
{% block breadcrumbs %}
|
{% block breadcrumbs %}
|
||||||
{{ do_action('woocommerce_before_main_content') }}
|
{{ do_action('woocommerce_before_main_content') }}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# Shop Breadcrumb (Bootstrap 5 Override)
|
# Shop Breadcrumb (Bootstrap 5 Override)
|
||||||
#
|
#
|
||||||
# Replaces WooCommerce's breadcrumb with Bootstrap 5 breadcrumb component.
|
# Replaces WooCommerce's breadcrumb with Bootstrap 5 breadcrumb component.
|
||||||
# Skipped when parent theme is wrapping (base.html.twig handles breadcrumbs).
|
# Skipped when parent theme is wrapping (wc-base.html.twig handles breadcrumbs).
|
||||||
#
|
#
|
||||||
# Expected context (from WooCommerce woocommerce_breadcrumb()):
|
# Expected context (from WooCommerce woocommerce_breadcrumb()):
|
||||||
# breadcrumb - Array of [label, url] tuples
|
# breadcrumb - Array of [label, url] tuples
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
# Replaces WooCommerce's theme-specific wrapper divs with Bootstrap 5 layout.
|
# Replaces WooCommerce's theme-specific wrapper divs with Bootstrap 5 layout.
|
||||||
# When the parent theme wraps the page (_theme_wrapped), this outputs nothing
|
# When the parent theme wraps the page (_theme_wrapped), this outputs nothing
|
||||||
# since base.html.twig already provides the container.
|
# since wc-base.html.twig already provides the container.
|
||||||
#
|
#
|
||||||
# WooCommerce PHP equivalent: global/wrapper-start.php
|
# WooCommerce PHP equivalent: global/wrapper-start.php
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
# @since 0.1.0
|
# @since 0.1.0
|
||||||
#}
|
#}
|
||||||
|
|
||||||
{% extends "base.html.twig" %}
|
{% extends "wc-base.html.twig" %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="mb-4">
|
<div class="mb-4">
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
# @since 0.1.0
|
# @since 0.1.0
|
||||||
#}
|
#}
|
||||||
|
|
||||||
{% extends "base.html.twig" %}
|
{% extends "wc-base.html.twig" %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="mb-4">
|
<div class="mb-4">
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
# @since 0.1.0
|
# @since 0.1.0
|
||||||
#}
|
#}
|
||||||
|
|
||||||
{% extends "base.html.twig" %}
|
{% extends "wc-base.html.twig" %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
# @since 0.1.0
|
# @since 0.1.0
|
||||||
#}
|
#}
|
||||||
|
|
||||||
{% extends "base.html.twig" %}
|
{% extends "wc-base.html.twig" %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="mb-4">
|
<div class="mb-4">
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
# @since 0.1.0
|
# @since 0.1.0
|
||||||
#}
|
#}
|
||||||
|
|
||||||
{% extends "base.html.twig" %}
|
{% extends "wc-base.html.twig" %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<article>
|
<article>
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
{#
|
{#
|
||||||
# Base Template (Bootstrap 5 Override)
|
# Base Template (Bootstrap 5 Override)
|
||||||
#
|
#
|
||||||
# Overrides the plugin's base.html.twig with Bootstrap 5 components.
|
# WooCommerce base layout (renamed from base.html.twig to avoid
|
||||||
|
# shadowing the parent theme's full page shell).
|
||||||
# Provides the basic structure and block definitions.
|
# Provides the basic structure and block definitions.
|
||||||
#
|
#
|
||||||
# When _theme_wrapped is true, the parent theme already provides the page
|
# When _theme_wrapped is true, the parent theme already provides the page
|
||||||
Reference in new issue
Block a user