Dateien hochladen nach „“
This commit is contained in:
parent
6899b69571
commit
9f1464ece5
2 changed files with 24 additions and 0 deletions
6
Dockerfile
Normal file
6
Dockerfile
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
FROM php:fpm
|
||||||
|
|
||||||
|
RUN apt update -y
|
||||||
|
RUN apt install -y zlib1g-dev libpng-dev
|
||||||
|
RUN docker-php-ext-install gd
|
||||||
|
RUN docker-php-ext-install pdo_mysql
|
18
docker-compose.yml
Normal file
18
docker-compose.yml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
version: "3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
php:
|
||||||
|
build: ./php
|
||||||
|
container_name: redstonium_php
|
||||||
|
volumes:
|
||||||
|
- /media/Vault/Webserver/redstonium.net/forum:/srv/redstonium.net/forum
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- databases
|
||||||
|
- proxies
|
||||||
|
|
||||||
|
networks:
|
||||||
|
databases:
|
||||||
|
external: true
|
||||||
|
proxies:
|
||||||
|
external: true
|
Reference in a new issue