banki.test/docker-compose.yml.template

31 lines
646 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
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: