Files
FOSSBilling/docker-compose.yaml
T
Jaap Marcus 3f13cf2bec Rename file
also can sb rename compose.yaml to docker-compose.yaml and creare a PR?
2022-06-11 08:27:20 +02:00

41 lines
804 B
YAML

version: '3.1'
services:
web:
image: nginx:stable
volumes:
- ./data/docker-nginx.conf:/etc/nginx/nginx.conf
- ${PWD}/:/var/www/html
ports:
- 80:80
networks:
- front-tier
- back-tier
depends_on:
- php
php:
build: './data/docker/php'
volumes:
- ${PWD}/:/var/www/html
environment:
DB_HOST: mariadb
DB_NAME: fossbilling
DB_USER: root
DB_PASS: default_mariadb_password
PROD : 'true'
networks:
- back-tier
restart: always
mariadb:
image: mariadb:10.6
restart: always
environment:
MARIADB_ROOT_PASSWORD: default_mariadb_password
networks:
- back-tier
networks:
# The presence of these objects is sufficient to define them
front-tier: {}
back-tier: {}