diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bd63289 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.env +secrets diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml new file mode 100644 index 0000000..30d9226 --- /dev/null +++ b/docker/docker-compose.yml @@ -0,0 +1,60 @@ +services: + webserver: + container_name: cloud1-webserver + image: caddy:2-alpine + environment: + + volumes: + + networks: + + wordpress: + container_name: cloud1-wp + image: wordpress:6-php8.4-fpm-alpine + environment: + + volumes: + + secrets: + + restart: always + + db: + container_name: cloud1-db + image: mariadb:lts-ubi + environment: + + volumes: + + networks: + + secrets: + + restart: always + + phpmyadmin: + container_name: cloud1-phpmyadmin + image: phpmyadmin:5-fpm-alpine + environment: + + volumes: + + networks: + + secrets: + + restart: always + +volumes: + db: + name: cloud1-db + wordpress: + name: cloud1-wp + +networks: + front: + name: cloud1-front + back: + name: cloud1-back + +secrets: