banki.test/docker-compose.yml.template

33 lines
664 B
Plaintext
Raw Permalink Normal View History

services:
server:
image: yiisoftware/yii2-php:8.3-fpm-24.3.0-nginx
restart: always
volumes:
- ./:/app
ports:
- '80:80'
networks:
bankitest:
environment:
PHP_ENABLE_XDEBUG: 1
2024-08-19 11:24:44 +02:00
XDEBUG_CONFIG: 'client_host=host.docker.internal client_port=9003'
db:
image: mysql:8.0.39-bookworm
restart: always
volumes:
- ./volatile/db:/var
networks:
bankitest:
aliases:
- db
environment:
PUID: 1000
PGID: 1000
MYSQL_DATABASE: bankitest
MYSQL_ROOT_PASSWORD: # change me
MYSQL_USER: server
MYSQL_PASSWORD: # change me
networks:
bankitest: