build: add Docker Compose for local Shopware 6.6
This commit is contained in:
Executable
+31
@@ -0,0 +1,31 @@
|
|||||||
|
services:
|
||||||
|
shopware:
|
||||||
|
image: dockware/shopware:6.6.10.12
|
||||||
|
container_name: shopware
|
||||||
|
ports:
|
||||||
|
- "80:80" # Shop / Admin / Adminer / Mailcatcher (all served via path on this port)
|
||||||
|
- "443:443" # HTTPS
|
||||||
|
#- "3306:3306" # MySQL (exposed for external DB clients, e.g. TablePlus/DBeaver)
|
||||||
|
- "22:22" # SSH into the container
|
||||||
|
- "8888:8888" # Admin watcher (bin/build-administration.sh --watch)
|
||||||
|
- "9998:9998" # Storefront watcher proxy
|
||||||
|
- "9999:9999" # Storefront watcher
|
||||||
|
volumes:
|
||||||
|
- "db_volume:/var/lib/mysql"
|
||||||
|
- "shop_volume:/var/www/html"
|
||||||
|
- "./:/var/www/html/custom/plugins/AeonDumpManager"
|
||||||
|
networks:
|
||||||
|
- web
|
||||||
|
environment:
|
||||||
|
- PHP_VERSION=8.3
|
||||||
|
- XDEBUG_ENABLED=1
|
||||||
|
- SW_CURRENCY=EUR
|
||||||
|
- SSH_USER=shopware
|
||||||
|
- SSH_PWD=shopware
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
db_volume:
|
||||||
|
shop_volume:
|
||||||
|
|
||||||
|
networks:
|
||||||
|
web:
|
||||||
Reference in New Issue
Block a user