akaunting/compose.yml

33 lines
674 B
YAML
Raw Permalink Normal View History

2024-09-22 23:11:43 +05:00
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: