forked from leftypol/leftypol
docker: shorter compose instance var name
This commit is contained in:
parent
3b8c6ae9fd
commit
50bb090952
1 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- leftypol-db
|
- leftypol-db
|
||||||
volumes:
|
volumes:
|
||||||
- ./local-instances/${LOCAL_INSTANCE_NAME:-0}/www:/var/www/html
|
- ./local-instances/${INSTANCE:-0}/www:/var/www/html
|
||||||
- ./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
|
||||||
|
@ -21,7 +21,7 @@ services:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: ./docker/php/Dockerfile
|
dockerfile: ./docker/php/Dockerfile
|
||||||
volumes:
|
volumes:
|
||||||
- ./local-instances/${LOCAL_INSTANCE_NAME:-0}/www:/var/www
|
- ./local-instances/${INSTANCE:-0}/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
|
||||||
|
|
||||||
#MySQL Service
|
#MySQL Service
|
||||||
|
@ -36,4 +36,4 @@ services:
|
||||||
MYSQL_DATABASE: vichan
|
MYSQL_DATABASE: vichan
|
||||||
MYSQL_ROOT_PASSWORD: password
|
MYSQL_ROOT_PASSWORD: password
|
||||||
volumes:
|
volumes:
|
||||||
- ./local-instances/${LOCAL_INSTANCE_NAME:-0}/mysql:/var/lib/mysql
|
- ./local-instances/${INSTANCE:-0}/mysql:/var/lib/mysql
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue