banki.test/docker-compose.yml.template

32 lines
719 B
Plaintext
Raw Normal View History

services:
server:
image: yiisoftware/yii2-php:8.3-fpm-24.3.0-nginx
restart: always
volumes:
- ./:/app:delegated
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: lscr.io/linuxserver/mariadb:10.11.8
restart: always
volumes:
- ./volatile/mariadb:/config
networks:
bankitest:
aliases:
- db
environment:
PUID: 1000 # change me
PGID: 1000 # change me
MYSQL_DATABASE: bankitest
MYSQL_ROOT_PASSWORD: # change me
MYSQL_USER: server
MYSQL_PASSWORD: # change me
networks:
bankitest: