forked from vtq221/InvoicePlane
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (39 loc) · 937 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
version: "3"
services:
# --- MariaDB 10.3
db:
container_name: "invoiceplane-db"
image: bitnami/mariadb:10.3
environment:
- MARIADB_ROOT_PASSWORD=ipdevdb
- MARIADB_USER=ipdevdb
- MARIADB_PASSWORD=ipdevdb
- MARIADB_DATABASE=ipdevdb
ports:
- "127.0.0.1:3306:3306"
volumes:
- invoiceplane-db:/bitnami
# --- PHP 7.4
php:
container_name: "invoiceplane-php"
image: bitnami/php-fpm:7.4
depends_on:
- db
volumes:
- .:/app:delegated
- ./application/docker/php/php-dev.ini:/opt/bitnami/php/etc/conf.d/php.ini:ro
# --- nginx 1.16
nginx:
container_name: "invoiceplane-nginx"
image: bitnami/nginx:1.16
ports:
- "80:8085"
depends_on:
- php
volumes:
- .:/app:delegated
- ./application/docker/nginx/site.conf:/opt/bitnami/nginx/conf/vhosts/site.conf:ro
volumes:
invoiceplane-db:
driver: local