1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-13 18:40:49 +01:00

Merge pull request #768 from Zankaria/docker-patch

Improve docker composer
This commit is contained in:
Lorenzo Yario 2024-06-24 17:01:56 -07:00 committed by GitHub
commit 0df33b4956
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,7 +9,7 @@ services:
depends_on:
- db
volumes:
- ./local-instances/1/www:/var/www/html
- ./local-instances/${LOCAL_INSTANCE_NAME:-0}/www:/var/www/html
- ./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
@ -21,7 +21,7 @@ services:
context: .
dockerfile: ./docker/php/Dockerfile
volumes:
- ./local-instances/1/www:/var/www
- ./local-instances/${LOCAL_INSTANCE_NAME:-0}/www:/var/www
- ./docker/php/www.conf:/usr/local/etc/php-fpm.d/www.conf
- ./docker/php/jit.ini:/usr/local/etc/php/conf.d/jit.ini
@ -37,4 +37,4 @@ services:
MYSQL_DATABASE: vichan
MYSQL_ROOT_PASSWORD: password
volumes:
- ./local-instances/1/mysql:/var/lib/mysql
- ./local-instances/${LOCAL_INSTANCE_NAME:-0}/mysql:/var/lib/mysql