From e00c7afa544b858ace6da20e88a13bb272ae397b Mon Sep 17 00:00:00 2001 From: Guillem Hernandez Sola Date: Tue, 17 Feb 2026 10:09:18 +0100 Subject: [PATCH] Added wordpress docker compose --- .gitignore | 82 ++++++++++++++++++++++++++++++++++++++++++++++ docker-compose.yml | 11 +++++++ 2 files changed, 93 insertions(+) create mode 100644 .gitignore create mode 100644 docker-compose.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5ab3e2b --- /dev/null +++ b/.gitignore @@ -0,0 +1,82 @@ +# Created by https://www.toptal.com/developers/gitignore/api/macos,windows,visualstudiocode +# Edit at https://www.toptal.com/developers/gitignore?templates=macos,windows,visualstudiocode + +### macOS ### +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +### macOS Patch ### +# iCloud generated files +*.icloud + +### VisualStudioCode ### +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +!.vscode/*.code-snippets + +# Local History for Visual Studio Code +.history/ + +# Built Visual Studio Code Extensions +*.vsix + +### VisualStudioCode Patch ### +# Ignore all local history of files +.history +.ionide + +### Windows ### +# Windows thumbnail cache files +Thumbs.db +Thumbs.db:encryptable +ehthumbs.db +ehthumbs_vista.db + +# Dump file +*.stackdump + +# Folder config file +[Dd]esktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msix +*.msm +*.msp + +# Windows shortcuts +*.lnk + +# End of https://www.toptal.com/developers/gitignore/api/macos,windows,visualstudiocode diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..c04523e --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,11 @@ +services: + web: + image: wordpress:latest + depends_on: + - db + ports: + - 80:80 + db: + image: mysql:latest + ports: + - 3306:3306