forked from GithubBackups/vichan
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/vichan.conf:/etc/nginx/conf.d/default.conf
|
||||||
- ./docker/nginx/nginx.conf:/etc/nginx/nginx.conf
|
- ./docker/nginx/nginx.conf:/etc/nginx/nginx.conf
|
||||||
- ./docker/nginx/proxy.conf:/etc/nginx/conf.d/proxy.conf
|
- ./docker/nginx/proxy.conf:/etc/nginx/conf.d/proxy.conf
|
||||||
networks:
|
|
||||||
vichan_net:
|
|
||||||
ipv4_address: 172.20.0.3
|
|
||||||
links:
|
links:
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php:
|
php:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
@ -27,9 +25,7 @@ services:
|
|||||||
- ./docker/php/www.conf:/usr/local/etc/php-fpm.d/www.conf
|
- ./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/jit.ini:/usr/local/etc/php/conf.d/jit.ini
|
||||||
- ./docker/php/xdebug-prof.ini:/usr/local/etc/php/conf.d/xdebug-prof.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
|
#MySQL Service
|
||||||
db:
|
db:
|
||||||
image: mysql:8.0.35
|
image: mysql:8.0.35
|
||||||
@ -41,14 +37,3 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: vichan
|
MYSQL_DATABASE: vichan
|
||||||
MYSQL_ROOT_PASSWORD: password
|
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