Files
zenithar/compose.yml
2025-01-05 01:45:57 -03:00

67 lines
1.1 KiB
YAML

services:
laravel:
build:
context: .
args:
UID: 1000
GID: 1000
ports:
- "80:80"
volumes:
- ./:/var/www/html
env_file: .env
postgres:
image: postgres:17
ports:
- "5432:5432"
environment:
POSTGRES_USER: postgres
POSTGRES_DB: laravel
POSTGRES_PASSWORD: secret
scheduler:
build:
context: .
args:
UID: 1000
GID: 1000
volumes:
- .:/var/www/html
env_file: .env
entrypoint: [ 'php', 'artisan', 'schedule:work' ]
worker:
build:
context: .
args:
UID: 1000
GID: 1000
volumes:
- .:/var/www/html
env_file: .env
entrypoint: [ 'php', 'artisan', 'queue:work' ]
vite:
build:
context: .
args:
UID: 1000
GID: 1000
ports:
- "5173:5173"
volumes:
- .:/var/www/html
env_file: .env
entrypoint: [ 'npm', 'run', 'dev', '--', '--host' ]
mailpit:
image: "axllent/mailpit:latest"
restart: unless-stopped
ports:
- "1025:1025"
- "8025:8025"
volumes:
caddy_data: