nhl-schedule/docker-compose.yaml

23 lines
683 B
YAML

services:
nhl-schedule:
image: nhl-schedule:dev
user: 1000:1000
env_file:
- .env
volumes:
- ./:/var/www:rw,cached
- ./docker/php-fpm/ini/xdebug.ini:/usr/local/etc/php/conf.d/xdebug.ini
- ./docker/php-fpm/ini/local.ini:/usr/local/etc/php/conf.d/local.ini
# extra_hosts:
# - host.docker.internal:host-gateway
postgres:
image: postgres:18.1
volumes:
- ./docker/postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
ports:
- '5432:5432'