File tree 4 files changed +117
-22
lines changed
4 files changed +117
-22
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+
2
+ server {
3
+ root /app;
4
+ listen 0.0.0.0:8085;
5
+ server_name _;
6
+ index index.php;
7
+ charset utf-8;
8
+ client_max_body_size 100M;
9
+ port_in_redirect off;
10
+
11
+ # Location configs
12
+ location / {
13
+ try_files $uri $uri/ /index.php;
14
+ }
15
+
16
+ # CSS and Javascript
17
+ location ~* \.(?:css|js|map|scss)$ {
18
+ expires 7d;
19
+ access_log off;
20
+ add_header Cache-Control "public";
21
+ try_files $uri =404;
22
+ }
23
+
24
+ # PHP handling
25
+ location ~ \.php$ {
26
+ fastcgi_pass php:9000;
27
+
28
+ try_files $uri /index.php;
29
+ include fastcgi.conf;
30
+ fastcgi_keep_conn on;
31
+ fastcgi_intercept_errors on;
32
+ fastcgi_index index.php;
33
+ fastcgi_read_timeout 300;
34
+ }
35
+ }
Original file line number Diff line number Diff line change
1
+
2
+ ; miscellaneous
3
+ ; -------------
4
+
5
+ expose_php = Off
6
+
7
+ ; resource limits
8
+ ; ---------------
9
+
10
+ max_execution_time = 30
11
+ max_input_time = 60
12
+ memory_limit = 128M
13
+ upload_max_filesize = 20M
14
+ post_max_size = 20M
15
+
16
+ ; xDebug
17
+ ; -------
18
+
19
+ ; zend_extension = /opt/bitnami/php/lib/php/extensions/xdebug.so
20
+ ; xdebug.idekey = "phpstorm"
21
+ ; xdebug.remote_enable = 1
22
+ ; xdebug.remote_host = docker.for.mac.localhost
23
+ ; xdebug.remote_port = 10000
24
+ ; xdebug.remote_connect_back = 0
25
+ ; xdebug.remote_log = /tmp/xdebug_remote.log
26
+ ; xdebug.max_nesting_level = 300
27
+ ; xdebug.scream = 0
28
+ ; xdebug.cli_color = 1
29
+ ; xdebug.show_local_vars = 1
30
+
31
+ ; opcache
32
+ ; -------
33
+
34
+ opcache.enable = 1
35
+ opcache.revalidate_freq = 2
36
+ opcache.validate_timestamps = 1
37
+ opcache.interned_strings_buffer = 32
38
+ opcache.memory_consumption = 256
Original file line number Diff line number Diff line change
1
+ ---
2
+ version : " 3"
3
+
4
+ services :
5
+
6
+ # --- MariaDB 10.3
7
+ db :
8
+ container_name : " invoiceplane-db"
9
+ image : bitnami/mariadb:10.3
10
+ environment :
11
+ - MARIADB_ROOT_PASSWORD=ipdevdb
12
+ - MARIADB_USER=ipdevdb
13
+ - MARIADB_PASSWORD=ipdevdb
14
+ - MARIADB_DATABASE=ipdevdb
15
+ ports :
16
+ - " 127.0.0.1:3306:3306"
17
+ volumes :
18
+ - invoiceplane-db:/bitnami
19
+
20
+ # --- PHP 7.3
21
+ php :
22
+ container_name : " invoiceplane-php"
23
+ image : bitnami/php-fpm:7.3
24
+ depends_on :
25
+ - db
26
+ volumes :
27
+ - .:/app:delegated
28
+ - ./application/docker/php/php-dev.ini:/opt/bitnami/php/etc/conf.d/php.ini:ro
29
+
30
+ # --- nginx 1.16
31
+ nginx :
32
+ container_name : " invoiceplane-nginx"
33
+ image : bitnami/nginx:1.16
34
+ ports :
35
+ - " 80:8085"
36
+ depends_on :
37
+ - php
38
+ volumes :
39
+ - .:/app:delegated
40
+ - ./application/docker/nginx/site.conf:/opt/bitnami/nginx/conf/vhosts/site.conf:ro
41
+
42
+ volumes :
43
+ invoiceplane-db :
44
+ driver : local
You can’t perform that action at this time.
0 commit comments