Merge pull request #3058 from GautierDele/master
✨ Add mongo crendentials to environment
This commit is contained in:
commit
1008cdcee5
@ -614,6 +614,8 @@ RETHINKDB_PORT=8090
|
||||
### MONGODB ###############################################
|
||||
|
||||
MONGODB_PORT=27017
|
||||
MONGO_USERNAME=root
|
||||
MONGO_PASSWORD=example
|
||||
|
||||
### CADDY #################################################
|
||||
|
||||
|
@ -658,6 +658,9 @@ services:
|
||||
build: ./mongo
|
||||
ports:
|
||||
- "${MONGODB_PORT}:27017"
|
||||
environment:
|
||||
- MONGO_INITDB_ROOT_USERNAME=${MONGO_USERNAME}
|
||||
- MONGO_INITDB_ROOT_PASSWORD=${MONGO_PASSWORD}
|
||||
volumes:
|
||||
- ${DATA_PATH_HOST}/mongo:/data/db
|
||||
- ${DATA_PATH_HOST}/mongo_config:/data/configdb
|
||||
|
@ -789,7 +789,7 @@ RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
|
||||
ARG INSTALL_SMB=false
|
||||
|
||||
RUN if [ ${INSTALL_SMB} = true ]; then \
|
||||
apt-get install apt-get install -yqq smbclient libsmbclient-dev coreutils && \
|
||||
apt-get install -yqq smbclient libsmbclient-dev coreutils && \
|
||||
pecl install smbclient && \
|
||||
docker-php-ext-enable smbclient \
|
||||
;fi
|
||||
|
Loading…
Reference in New Issue
Block a user