Compare commits

..

No commits in common. "9f8bc17899301d5f1bf3673dca6f17b9a217cf18" and "108b9ed7529cfc09b85e33be4ea01822782dda7a" have entirely different histories.

5 changed files with 29 additions and 75 deletions

1
.gitignore vendored
View File

@ -1 +0,0 @@
data

View File

@ -1,30 +1,30 @@
version: "3"
services:
app:
image: app:debian
build: app
expose:
- "5000"
ports:
- "5000:5000"
networks:
webnet:
aliases:
- app
webserver:
image: websrv:proxy
build: webserver
expose:
- "80"
ports:
- "80:80"
networks:
webnet:
aliases:
- www
depends_on:
- app
networks:
version: "3"
services:
app:
image: app:slim
build: app
expose:
- "5000"
ports:
- "5000:5000"
networks:
webnet:
aliases:
- app
webserver:
image: webserver:proxy
build: webserver
expose:
- "80"
ports:
- "80:80"
networks:
webnet:
aliases:
- www
depends_on:
- app
networks:
webnet:

View File

@ -1,33 +0,0 @@
version: "3"
services:
db:
image: mariadb:lts
expose:
- "3306"
env_file:
- envs/db
volumes:
- ./data/db:/var/lib/mysql/
networks:
webnet:
aliases:
- dbsrv
frontend:
image: php:8.2-wp
build: frontend
expose:
- "80"
ports:
- "80:80"
volumes:
- ./data/htdocs:/var/www/html/
networks:
webnet:
aliases:
- www
depends_on:
- db
networks:
webnet:

View File

@ -1,4 +0,0 @@
MARIADB_DATABASE = mywebsitedb
MARIADB_USER = wpuser
MARIADB_PASSWORD = Xb65t6PwyttpamRd
MARIADB_ROOT_PASSWORD = t4mh59DWdnCh9ecVECvs69Q4M8Ssk6a6

View File

@ -1,8 +0,0 @@
FROM php:8.2-apache
RUN apt update
RUN apt install -y \
zlib1g-dev \
libpng-dev
RUN docker-php-ext-install \
gd \
mysqli