61 lines
749 B
YAML
61 lines
749 B
YAML
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:
|