「🏗️」 wip(docker/compose): started the compose file
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
.env
|
||||||
|
secrets
|
60
docker/docker-compose.yml
Normal file
60
docker/docker-compose.yml
Normal file
@ -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:
|
Reference in New Issue
Block a user