env file
This commit is contained in:
+2
-21
@@ -11,11 +11,6 @@ services:
|
||||
volumes:
|
||||
- ../../mistborn_volumes/extra/mattermost/db/var/lib/postgresql/data:/var/lib/postgresql/data
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
env_file:
|
||||
- ../.envs/.production/.mattermost
|
||||
networks:
|
||||
mattermost_net:
|
||||
ipv4_address: 10.2.5.4
|
||||
#environment:
|
||||
# - POSTGRES_USER=mmuser
|
||||
# - POSTGRES_PASSWORD=mmuser_password
|
||||
@@ -46,12 +41,7 @@ services:
|
||||
# When you want to use SSO with GitLab, you have to add the cert pki chain of GitLab inside Alpine
|
||||
# to avoid Token request failed: certificate signed by unknown authority (link: https://github.com/mattermost/mattermost-server/issues/13059)
|
||||
# - <path_to_your_gitlab_pki>/pki_chain.pem:/etc/ssl/certs/pki_chain.pem:ro
|
||||
env_file:
|
||||
- ../.envs/.production/.mattermost
|
||||
networks:
|
||||
mattermost_net:
|
||||
ipv4_address: 10.2.5.3
|
||||
#environment:
|
||||
environment:
|
||||
# # set same as db credentials and dbname
|
||||
# #- MM_USERNAME=mmuser
|
||||
# #- MM_PASSWORD=mmuser_password
|
||||
@@ -60,7 +50,7 @@ services:
|
||||
# # use the credentials you've set above, in the format:
|
||||
# # MM_SQLSETTINGS_DATASOURCE=postgres://${MM_USERNAME}:${MM_PASSWORD}@db:5432/${MM_DBNAME}?sslmode=disable&connect_timeout=10
|
||||
# #- MM_SQLSETTINGS_DATASOURCE=postgres://mmuser:mmuser_password@db:5432/mattermost?sslmode=disable&connect_timeout=10
|
||||
# - MM_SQLSETTINGS_DATASOURCE=postgres://${MM_USERNAME}:${MM_PASSWORD}@db:5432/${MM_DBNAME}?sslmode=disable&connect_timeout=10
|
||||
- MM_SQLSETTINGS_DATASOURCE=postgres://${MM_USERNAME}:${MM_PASSWORD}@db:5432/${MM_DBNAME}?sslmode=disable&connect_timeout=10
|
||||
|
||||
# # in case your config is not in default location
|
||||
# #- MM_CONFIG=/mattermost/config/config.json
|
||||
@@ -88,18 +78,9 @@ services:
|
||||
# This directory must have cert files if you want to enable SSL
|
||||
#- ./volumes/web/cert:/cert:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
networks:
|
||||
default:
|
||||
mattermost_net:
|
||||
ipv4_address: 10.2.5.2
|
||||
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: mistborn_default
|
||||
|
||||
mattermost_net:
|
||||
driver: bridge
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 10.2.5.0/29
|
||||
|
||||
Reference in New Issue
Block a user