forked from coop-cloud/discourse
Compare commits
10 Commits
cas_readme
...
0.3.1+2.8.
Author | SHA1 | Date | |
---|---|---|---|
d1fcc7a6fa | |||
41f7c0089e
|
|||
fa42eedcfc | |||
0376930563 | |||
0b2759f9ee | |||
fa5c18672b | |||
ab7d90edd8 | |||
fd814bd562 | |||
fb6e1dfc4f | |||
6b21fabe8f |
BIN
.compose.yml.swp
Normal file
BIN
.compose.yml.swp
Normal file
Binary file not shown.
@ -11,6 +11,8 @@ steps:
|
||||
purge: true
|
||||
deploy_key:
|
||||
from_secret: drone_ssh_swarm_test
|
||||
networks:
|
||||
- proxy
|
||||
environment:
|
||||
DOMAIN: discourse.swarm-test.autonomic.zone
|
||||
STACK_NAME: discourse
|
||||
|
@ -11,6 +11,8 @@ LETS_ENCRYPT_ENV=production
|
||||
#DISCOURSE_SMTP_USER=
|
||||
#DISCOURSE_SMTP_PROTOCOL=
|
||||
#DISCOURSE_SMTP_AUTH=
|
||||
# Set this if you send e-mails from a different domain than noreply@$DOMAIN
|
||||
#DISCOURSE_NOTIFICATION_EMAIL=$SMTP_USER
|
||||
|
||||
# SMTP authentication
|
||||
#COMPOSE_FILE="compose.yml:compose.smtpauth.yml"
|
||||
|
22
compose.yml
22
compose.yml
@ -3,7 +3,7 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: bitnami/discourse:2.7.7
|
||||
image: bitnami/discourse:2.8.9
|
||||
networks:
|
||||
- proxy
|
||||
- internal
|
||||
@ -20,6 +20,7 @@ services:
|
||||
- DISCOURSE_SMTP_USER
|
||||
- DISCOURSE_SMTP_PROTOCOL
|
||||
- DISCOURSE_SMTP_AUTH
|
||||
- DISCOURSE_NOTIFICATION_EMAIL
|
||||
volumes:
|
||||
- 'discourse_data:/bitnami/discourse'
|
||||
secrets:
|
||||
@ -41,15 +42,16 @@ services:
|
||||
#- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
|
||||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
|
||||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:3000"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
start_period: 1m
|
||||
- "coop-cloud.${STACK_NAME}.version=0.3.1+2.8.9"
|
||||
# healthcheck:
|
||||
# test: ["CMD", "curl", "-f", "http://localhost:3000"]
|
||||
# interval: 30s
|
||||
# timeout: 10s
|
||||
# retries: 10
|
||||
# start_period: 1m
|
||||
|
||||
db:
|
||||
image: postgres:11-alpine
|
||||
image: postgres:13-alpine
|
||||
networks:
|
||||
- internal
|
||||
secrets:
|
||||
@ -63,14 +65,14 @@ services:
|
||||
- POSTGRES_PASSWORD_FILE=/run/secrets/db_password
|
||||
|
||||
redis:
|
||||
image: redis:6.0-alpine
|
||||
image: redis:7.0-alpine
|
||||
networks:
|
||||
- internal
|
||||
volumes:
|
||||
- 'redis_data:/data'
|
||||
|
||||
sidekiq:
|
||||
image: bitnami/discourse:2.7.7
|
||||
image: bitnami/discourse:2.8.9
|
||||
networks:
|
||||
- internal
|
||||
depends_on:
|
||||
|
Reference in New Issue
Block a user