feat: uses php-fpm & nginx instead of php-apache
This commit is contained in:
12
compose.yml
12
compose.yml
@@ -12,6 +12,16 @@ services:
|
||||
- $PWD/bash/caddy:/etc/caddy
|
||||
- $PWD/bash/certs:/etc/ssl
|
||||
|
||||
web:
|
||||
image: code.caldwell.digital/home/torsearch/web:latest
|
||||
ports:
|
||||
- '8080:80'
|
||||
volumes:
|
||||
- $PWD/bash/nginx.conf:/etc/nginx/conf.d/default.conf
|
||||
depends_on:
|
||||
app:
|
||||
condition: service_healthy
|
||||
|
||||
redis:
|
||||
image: redis:latest
|
||||
volumes:
|
||||
@@ -20,7 +30,7 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
app:
|
||||
image: code.caldwell.digital/home/torsearch:0.14.5-app
|
||||
build: .
|
||||
volumes:
|
||||
- ./:/var/www
|
||||
depends_on:
|
||||
|
||||
Reference in New Issue
Block a user