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:
parent
fbbdb5afd6
commit
107592f70c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user