Commit 460a7337 authored by nahakyuu's avatar nahakyuu

change docker file

parent d3e5903c
FROM php:5.4-fpm
FROM php:8.1-fpm
RUN docker-php-ext-install mysqli && docker-php-ext-install mbstring
RUN docker-php-ext-install mysqli
COPY ./ /mnt/dts
RUN chmod -R 777 /mnt/dts
......
......@@ -17,11 +17,21 @@ services:
- nginx_conf:/etc/nginx/conf.d
db:
image: mariadb:10
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: "mylittlepony"
MYSQL_DATABASE: "acdts3"
volumes:
- db:/var/lib/mysql
phpmyadmin:
image: phpmyadmin:5.2.1
ports:
- 8081:80
environment:
- PMA_HOST=db
- PMA_USER=root
- PMA_PASSWORD=mylittlepony
volumes:
db:
dts:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment