From cf7e49161307eac856ccfb76f39ca77bff7bd5d3 Mon Sep 17 00:00:00 2001 From: adjoly Date: Thu, 11 Sep 2025 10:11:45 +0200 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=F0=9F=8F=97=EF=B8=8F=E3=80=8D=20wip(d?= =?UTF-8?q?ocker/compose):=20started=20the=20compose=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 ++ docker/docker-compose.yml | 60 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 .gitignore create mode 100644 docker/docker-compose.yml 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: