mirror of
https://github.com/alexjustesen/speedtest-tracker.git
synced 2026-06-23 07:40:08 +00:00
3a525dc249
Co-authored-by: Alex Justesen <1144087+alexjustesen@users.noreply.github.com>
35 lines
994 B
YAML
35 lines
994 B
YAML
services:
|
|
laravel.test:
|
|
build:
|
|
context: ./docker/8.3
|
|
dockerfile: Dockerfile
|
|
args:
|
|
WWWGROUP: '${WWWGROUP}'
|
|
image: speedtest-tracker-8.3/app
|
|
extra_hosts:
|
|
- 'host.docker.internal:host-gateway'
|
|
ports:
|
|
- '${APP_PORT:-80}:80'
|
|
- '${VITE_PORT:-5173}:${VITE_PORT:-5173}'
|
|
environment:
|
|
WWWUSER: '${WWWUSER}'
|
|
LARAVEL_SAIL: 1
|
|
XDEBUG_MODE: '${SAIL_XDEBUG_MODE:-off}'
|
|
XDEBUG_CONFIG: '${SAIL_XDEBUG_CONFIG:-client_host=host.docker.internal}'
|
|
volumes:
|
|
- '.:/var/www/html'
|
|
networks:
|
|
- sail
|
|
depends_on:
|
|
- mailpit
|
|
mailpit:
|
|
image: 'axllent/mailpit:latest'
|
|
ports:
|
|
- '${FORWARD_MAILPIT_PORT:-1025}:1025'
|
|
- '${FORWARD_MAILPIT_DASHBOARD_PORT:-8025}:8025'
|
|
networks:
|
|
- sail
|
|
networks:
|
|
sail:
|
|
driver: bridge
|