remove unnecessary code
This commit is contained in:
1 parent
02083d6ad3
commit
9dd9f245f7
3 files changed
+5
-4
No files matched your search
+2
-1
@@ -39,7 +39,7 @@ services:
|
|||||||
- typesense
|
- typesense
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD-SHELL", "test -d /var/www/app/vendor && pidof php-fpm || exit 1" ]
|
test: [ "CMD-SHELL", "test -d /var/www/app/apps/backend/vendor && pidof php-fpm || exit 1" ]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 3s
|
timeout: 3s
|
||||||
retries: 20
|
retries: 20
|
||||||
@@ -109,6 +109,7 @@ services:
|
|||||||
context: ./docker/reverb
|
context: ./docker/reverb
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: app-reverb
|
container_name: app-reverb
|
||||||
|
working_dir: /var/www/app/apps/backend
|
||||||
entrypoint: []
|
entrypoint: []
|
||||||
command: php artisan reverb:start --host=0.0.0.0 --port=8080
|
command: php artisan reverb:start --host=0.0.0.0 --port=8080
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ server {
|
|||||||
listen 80;
|
listen 80;
|
||||||
server_name 127.0.0.1;
|
server_name 127.0.0.1;
|
||||||
|
|
||||||
root /var/www/app/public;
|
root /var/www/app/apps/backend/public;
|
||||||
index index.php index.html;
|
index index.php index.html;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
|||||||
@@ -19,6 +19,6 @@ RUN apt-get update && apt-get install -y \
|
|||||||
|
|
||||||
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
||||||
|
|
||||||
WORKDIR /var/www/app
|
WORKDIR /var/www/app/apps/backend
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
Reference in new issue
Block a user