1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-31 04:13:49 +01:00

docker: simplify composer file

This commit is contained in:
Zankaria 2024-04-16 20:50:27 +02:00
parent fbbdb5afd6
commit 107592f70c

View File

@ -13,11 +13,9 @@ services:
- ./docker/nginx/vichan.conf:/etc/nginx/conf.d/default.conf
- ./docker/nginx/nginx.conf:/etc/nginx/nginx.conf
- ./docker/nginx/proxy.conf:/etc/nginx/conf.d/proxy.conf
networks:
vichan_net:
ipv4_address: 172.20.0.3
links:
- php
php:
build:
context: .
@ -27,9 +25,7 @@ services:
- ./docker/php/www.conf:/usr/local/etc/php-fpm.d/www.conf
- ./docker/php/jit.ini:/usr/local/etc/php/conf.d/jit.ini
- ./docker/php/xdebug-prof.ini:/usr/local/etc/php/conf.d/xdebug-prof.ini
networks:
vichan_net:
ipv4_address: 172.20.0.4
#MySQL Service
db:
image: mysql:8.0.35
@ -41,14 +37,3 @@ services:
environment:
MYSQL_DATABASE: vichan
MYSQL_ROOT_PASSWORD: password
networks:
vichan_net:
ipv4_address: 172.20.0.2
#Docker Networks
networks:
vichan_net:
ipam:
driver: default
config:
- subnet: 172.20.0.0/16