Skip to content

Commit 357d69a

Browse files
committed
removed .env from git and added .env.sample
1 parent 50a8f49 commit 357d69a

File tree

3 files changed

+106
-42
lines changed

3 files changed

+106
-42
lines changed

.env

Lines changed: 0 additions & 42 deletions
This file was deleted.

.env.sample

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
############################
2+
###> nginx configuration ###
3+
4+
NGINX_PORT=8080
5+
6+
###< nginx configuration ###
7+
############################
8+
9+
10+
##########################
11+
###> php configuration ###
12+
13+
# php version
14+
# ie: 7.1, 7.2, 7.3 and 7.4 or try 8.0-rc
15+
PHP_VERSION=7.4
16+
17+
# php fpm expose port
18+
PHP_FPM_PORT=9000
19+
20+
# you also need to uncomment redis service from docker-compose.yml
21+
# below flag will only enable/disable php redis extension
22+
PHP_ENABLE_REDIS=1
23+
24+
# make sure xdebug (IDE) listens to PHP_FPM_PORT
25+
PHP_ENABLE_XDEBUG=1
26+
27+
# you also need to uncomment mongodb service from docker-compose.yml
28+
# below flag will only enable/disable php mongodb extension
29+
# also check below mongodb configuration for more info
30+
PHP_ENABLE_MONGODB=1
31+
32+
###< php configuration ###
33+
##########################
34+
35+
36+
#############################
37+
###> nodejs configuration ###
38+
39+
# node version
40+
# ie: 10.x, 11.x, 12.x, 13.x, 14.x or any valid version
41+
NODE_VERSION=14.x
42+
43+
###< nodejs configuration ###
44+
#############################
45+
46+
47+
##############################
48+
###> mariadb configuration ###
49+
# configure database using mysql://root:root@mariadb:3306/project?serverVersion=mariadb-10.5.5
50+
51+
# mariadb version
52+
# ie: 10.1, 10.2, 10.3, 10.4, 10.5 or 10 or any valid version
53+
MARIADB_VERSION=10
54+
55+
# mariadb expose port
56+
MARIADB_PORT=3306
57+
58+
# host=mariadb
59+
# username=root
60+
MARIADB_ROOT_PASSWORD=root
61+
MARIADB_DATABASE_NAME=project
62+
63+
###< mariadb configuration ###
64+
##############################
65+
66+
67+
#################################
68+
###> phpmyadmin configuration ###
69+
70+
PHPMYADMIN_PORT=8180
71+
72+
###< phpmyadmin configuration ###
73+
#################################
74+
75+
76+
##############################
77+
###> mongodb configuration ###
78+
# you need to uncomment mongodb service from docker-compose.yml
79+
# connect compass directly using mongodb://root:root@localhost:27017/?authSource=admin
80+
81+
# mongodb version
82+
# ie: 4.0, 4.1, 4.2, 4.3, 4.4 or 4 or any valid version
83+
MONGODB_VERSION=4
84+
85+
# mongodb expose port
86+
MONGODB_PORT=27017
87+
88+
# host=mongodb
89+
# database_name=project
90+
MONGODB_ROOT_USERNAME=root
91+
MONGODB_ROOT_PASSWORD=root
92+
93+
###< mongodb configuration ###
94+
##############################
95+
96+
97+
##################################
98+
###> mailcatcher configuration ###
99+
# configure email to smtp://mailcatcher:1025
100+
101+
MAILCATCHER_PORT=8280
102+
103+
###< mailcatcher configuration ###
104+
##################################

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/.vscode
22

3+
/.env
4+
35
/data
46
/project*
57
*.sql

0 commit comments

Comments
 (0)