mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-10 14:03:30 +09:00
37 lines
650 B
YAML
37 lines
650 B
YAML
version: "3"
|
|
services:
|
|
web:
|
|
image: nginx:stable
|
|
volumes:
|
|
- ./docker-nginx.conf:/etc/nginx/nginx.conf
|
|
- ${PWD}/:/var/www/html
|
|
ports:
|
|
- 80:80
|
|
networks:
|
|
backend:
|
|
php:
|
|
image: chialab/php:7.4-fpm
|
|
volumes:
|
|
- ${PWD}/:/var/www/html
|
|
environment:
|
|
DB_HOST: database
|
|
DB_NAME: boxbilling
|
|
DB_USER: root
|
|
DB_PASS: root
|
|
networks:
|
|
backend:
|
|
depends_on:
|
|
- database
|
|
restart: always
|
|
database:
|
|
image: mysql:5
|
|
ports:
|
|
- 3306:3306
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: root
|
|
networks:
|
|
backend:
|
|
restart: always
|
|
networks:
|
|
backend:
|