akaunting/compose.yml
Shihaam Abdul Rahman 56ffe2c3d1
Some checks failed
Tests / PHP ${{ matrix.php }} (8.1) (push) Has been cancelled
Tests / PHP ${{ matrix.php }} (8.2) (push) Has been cancelled
added docker build files
2024-09-22 23:11:43 +05:00

33 lines
674 B
YAML

services:
fpm:
hostname: fpm
image: git.shihaam.dev/shihaam/akaunting/fpm
volumes:
- ./:/var/www/html/
nginx:
hostname: nginx
image: git.shihaam.dev/shihaam/akaunting/nginx
volumes_from:
- fpm
ports:
- 9000:80
# composer:
# hostname: composer
# image: composer:2.7.9
# volumes:
# - ./:/var/www/html/
# working_dir: /var/www/html
mariadb:
image: mariadb:11.5.2
hostname: mariadb
restart: always
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=yes
- MYSQL_USER=user
- MYSQL_PASSWORD=password
- MYSQL_DATABASE=database
volumes:
- db:/var/lib/mysql
volumes:
db: