forked from leftypol/leftypol
docker: simplify composer file
This commit is contained in:
parent
a74a9e41e3
commit
28c8ff15c1
1 changed files with 2 additions and 17 deletions
|
@ -13,11 +13,9 @@ services:
|
||||||
- ./docker/nginx/leftypol.conf:/etc/nginx/conf.d/default.conf
|
- ./docker/nginx/leftypol.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:
|
|
||||||
d_leftypol_org:
|
|
||||||
ipv4_address: 172.21.0.3
|
|
||||||
links:
|
links:
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php:
|
php:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
|
@ -25,9 +23,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./local-www:/var/www
|
- ./local-www:/var/www
|
||||||
- ./docker/php/www.conf:/usr/local/etc/php-fpm.d/www.conf
|
- ./docker/php/www.conf:/usr/local/etc/php-fpm.d/www.conf
|
||||||
networks:
|
|
||||||
d_leftypol_org:
|
|
||||||
ipv4_address: 172.21.0.4
|
|
||||||
#MySQL Service
|
#MySQL Service
|
||||||
leftypol-db:
|
leftypol-db:
|
||||||
image: mysql:8.0.35
|
image: mysql:8.0.35
|
||||||
|
@ -40,14 +36,3 @@ services:
|
||||||
MYSQL_DATABASE: vichan
|
MYSQL_DATABASE: vichan
|
||||||
MYSQL_ROOT_PASSWORD: password
|
MYSQL_ROOT_PASSWORD: password
|
||||||
command: "--default-authentication-plugin=mysql_native_password"
|
command: "--default-authentication-plugin=mysql_native_password"
|
||||||
networks:
|
|
||||||
d_leftypol_org:
|
|
||||||
ipv4_address: 172.21.0.2
|
|
||||||
|
|
||||||
#Docker Networks
|
|
||||||
networks:
|
|
||||||
d_leftypol_org:
|
|
||||||
ipam:
|
|
||||||
driver: default
|
|
||||||
config:
|
|
||||||
- subnet: 172.21.0.0/16
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue