🚀 Initial release: Complete Ansible LEMP WordPress automation
✨ Features: - Complete LEMP stack automation - WordPress with WP-CLI - Redis Object Cache (50% performance boost) - Multi-OS support - SSL/Let's Encrypt integration - Security hardening - Enterprise features - Docker testing environment - GitHub Actions CI/CD - Comprehensive documentation 🧪 Fully tested and production-ready Copyright (c) 2025 Sebastian Palencsár
This commit is contained in:
39
docker/docker-compose.yml
Normal file
39
docker/docker-compose.yml
Normal file
@@ -0,0 +1,39 @@
|
||||
|
||||
|
||||
services:
|
||||
ubuntu-test:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: ansible-ubuntu-test
|
||||
hostname: ubuntu-test
|
||||
ports:
|
||||
- "2222:22"
|
||||
- "8080:80"
|
||||
volumes:
|
||||
- ./test-data:/opt/test-data:rw
|
||||
- ./html:/var/www/html:rw
|
||||
environment:
|
||||
- TZ=Europe/Berlin
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "service", "ssh", "status"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
networks:
|
||||
- ansible-net
|
||||
security_opt:
|
||||
- seccomp:unconfined
|
||||
tmpfs:
|
||||
- /tmp:noexec,nosuid,size=500m
|
||||
|
||||
networks:
|
||||
ansible-net:
|
||||
driver: bridge
|
||||
driver_opts:
|
||||
com.docker.network.bridge.name: ansible-br1
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 172.25.0.0/24
|
||||
Reference in New Issue
Block a user