This commit is contained in:
TiclemFR
2023-12-29 17:30:11 +01:00
parent cb8d373691
commit a386c7e47f

View File

@@ -5,7 +5,6 @@ services:
dockerfile: Dockerfile dockerfile: Dockerfile
args: args:
WWWGROUP: '${WWWGROUP}' WWWGROUP: '${WWWGROUP}'
command: 'npm install && php artisan migrate && php artisan serve --port=80'
image: sail-8.2/app image: sail-8.2/app
extra_hosts: extra_hosts:
- 'host.docker.internal:host-gateway' - 'host.docker.internal:host-gateway'
@@ -24,6 +23,7 @@ services:
- sail - sail
depends_on: depends_on:
- pgsql - pgsql
command: npm install && php artisan migrate
pgsql: pgsql:
image: 'postgres:15' image: 'postgres:15'
ports: ports: