e29a5891c8
Reviewed-on: #5 Co-authored-by: ISMAIL MASSERAN <ismail@koppkb.com> Co-committed-by: ISMAIL MASSERAN <ismail@koppkb.com>
65 lines
1.2 KiB
YAML
65 lines
1.2 KiB
YAML
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
dockerfile: docker/php/Dockerfile
|
|
target: development
|
|
working_dir: /var/www/html
|
|
ports:
|
|
- "8082:8000"
|
|
volumes:
|
|
- ./:/var/www/html:cached
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
depends_on:
|
|
- redis
|
|
networks:
|
|
- default
|
|
- api_arrahn_default
|
|
|
|
horizon:
|
|
build:
|
|
context: .
|
|
dockerfile: docker/php/Dockerfile
|
|
target: development
|
|
working_dir: /var/www/html
|
|
command: php artisan horizon
|
|
volumes:
|
|
- ./:/var/www/html:cached
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
depends_on:
|
|
- redis
|
|
networks:
|
|
- default
|
|
- api_arrahn_default
|
|
restart: unless-stopped
|
|
|
|
redis:
|
|
image: redis:7-alpine
|
|
container_name: lelong-redis
|
|
ports:
|
|
- "6379:6379"
|
|
volumes:
|
|
- lelong_redis_data:/data
|
|
networks:
|
|
- default
|
|
restart: unless-stopped
|
|
|
|
mailpit:
|
|
image: axllent/mailpit
|
|
container_name: lelong-mailpit
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8025:8025" # Web UI
|
|
- "1025:1025" # SMTP
|
|
networks:
|
|
- default
|
|
|
|
networks:
|
|
api_arrahn_default:
|
|
external: true
|
|
|
|
volumes:
|
|
lelong_redis_data:
|