setup zulip config file
This commit is contained in:
parent
6e4eeeabc5
commit
ae5b8331e4
1
abra.sh
1
abra.sh
@ -1,4 +1,5 @@
|
||||
export ENTRYPOINT_VERSION=v1
|
||||
export ZULIP_CONF_VERSION=v1
|
||||
export PG_BACKUP_VERSION=v1
|
||||
export MEM_ENTRYPOINT_VERSION=v1
|
||||
export REDIS_ENTRYPOINT_VERSION=v1
|
||||
|
11
compose.yml
11
compose.yml
@ -9,6 +9,8 @@ services:
|
||||
- source: entrypoint
|
||||
target: /custom-entrypoint.sh
|
||||
mode: 0555
|
||||
- source: zulip-conf
|
||||
target: /etc/zulip/zulip.conf
|
||||
entrypoint: /custom-entrypoint.sh
|
||||
command:
|
||||
- "app:run"
|
||||
@ -48,9 +50,8 @@ services:
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=proxy"
|
||||
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.scheme=https"
|
||||
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=443"
|
||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
||||
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80"
|
||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
|
||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.1.0+9.4-0"
|
||||
@ -176,6 +177,9 @@ configs:
|
||||
name: ${STACK_NAME}_entrypoint_${ENTRYPOINT_VERSION}
|
||||
file: entrypoint.sh.tmpl
|
||||
template_driver: golang
|
||||
zulip-conf:
|
||||
name: ${STACK_NAME}_zulip-conf_${ZULIP_CONF_VERSION}
|
||||
file: zulip.conf.tmpl
|
||||
memcached_entrypoint:
|
||||
name: ${STACK_NAME}_memcached_entrypoint_${MEM_ENTRYPOINT_VERSION}
|
||||
file: entrypoint.memcached.sh.tmpl
|
||||
@ -197,6 +201,7 @@ configs:
|
||||
|
||||
volumes:
|
||||
zulip:
|
||||
zulip_conf:
|
||||
db:
|
||||
rabbitmq:
|
||||
redis:
|
||||
|
12
zulip.conf.tmpl
Normal file
12
zulip.conf.tmpl
Normal file
@ -0,0 +1,12 @@
|
||||
[machine]
|
||||
puppet_classes = zulip::profile::docker
|
||||
deploy_type = production
|
||||
|
||||
[postgresql]
|
||||
version = 14
|
||||
|
||||
[application_server]
|
||||
http_only = true
|
||||
|
||||
[loadbalancer]
|
||||
ips = 10.0.0.0/24
|
Loading…
x
Reference in New Issue
Block a user