10 Commits

Author SHA1 Message Date
d1fcc7a6fa chore: publish 0.3.1+2.8.9 release
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 15:59:26 +01:00
41f7c0089e feat: set notification e-mail
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 15:58:04 +01:00
3wc
fa42eedcfc chore: publish 0.3.0+2.8.9 release
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-18 22:44:24 -04:00
3wc
0376930563 chore: publish 0.2.1+2.8.9 release
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-18 22:09:59 -04:00
3wc
0b2759f9ee Add proxy network for drone
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-26 01:37:26 +02:00
3wc
fa5c18672b chore: publish 0.2.0+2.8.1 release
Some checks failed
continuous-integration/drone/push Build is failing
2022-03-23 00:33:07 +02:00
3wc
ab7d90edd8 chore: publish 0.1.0+2.7.7 release
Some checks failed
continuous-integration/drone/push Build is failing
2022-03-23 00:30:52 +02:00
3wc
fd814bd562 Revert to stable discourse version
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-30 12:43:40 +02:00
3wc
fb6e1dfc4f Update Discourse to 2.8.0
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-21 21:49:10 +02:00
6b21fabe8f Merge pull request 'Add some useful instructions for setting up users and installing plugins' (#2) from cas_readme into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #2
2021-11-16 19:15:29 +00:00
4 changed files with 16 additions and 10 deletions

BIN
.compose.yml.swp Normal file

Binary file not shown.

View File

@ -11,6 +11,8 @@ steps:
purge: true purge: true
deploy_key: deploy_key:
from_secret: drone_ssh_swarm_test from_secret: drone_ssh_swarm_test
networks:
- proxy
environment: environment:
DOMAIN: discourse.swarm-test.autonomic.zone DOMAIN: discourse.swarm-test.autonomic.zone
STACK_NAME: discourse STACK_NAME: discourse

View File

@ -11,6 +11,8 @@ LETS_ENCRYPT_ENV=production
#DISCOURSE_SMTP_USER= #DISCOURSE_SMTP_USER=
#DISCOURSE_SMTP_PROTOCOL= #DISCOURSE_SMTP_PROTOCOL=
#DISCOURSE_SMTP_AUTH= #DISCOURSE_SMTP_AUTH=
# Set this if you send e-mails from a different domain than noreply@$DOMAIN
#DISCOURSE_NOTIFICATION_EMAIL=$SMTP_USER
# SMTP authentication # SMTP authentication
#COMPOSE_FILE="compose.yml:compose.smtpauth.yml" #COMPOSE_FILE="compose.yml:compose.smtpauth.yml"

View File

@ -3,7 +3,7 @@ version: "3.8"
services: services:
app: app:
image: bitnami/discourse:2.7.7 image: bitnami/discourse:2.8.9
networks: networks:
- proxy - proxy
- internal - internal
@ -20,6 +20,7 @@ services:
- DISCOURSE_SMTP_USER - DISCOURSE_SMTP_USER
- DISCOURSE_SMTP_PROTOCOL - DISCOURSE_SMTP_PROTOCOL
- DISCOURSE_SMTP_AUTH - DISCOURSE_SMTP_AUTH
- DISCOURSE_NOTIFICATION_EMAIL
volumes: volumes:
- 'discourse_data:/bitnami/discourse' - 'discourse_data:/bitnami/discourse'
secrets: secrets:
@ -41,15 +42,16 @@ services:
#- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect" #- "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.SSLForceHost=true"
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}" #- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
healthcheck: - "coop-cloud.${STACK_NAME}.version=0.3.1+2.8.9"
test: ["CMD", "curl", "-f", "http://localhost:3000"] # healthcheck:
interval: 30s # test: ["CMD", "curl", "-f", "http://localhost:3000"]
timeout: 10s # interval: 30s
retries: 10 # timeout: 10s
start_period: 1m # retries: 10
# start_period: 1m
db: db:
image: postgres:11-alpine image: postgres:13-alpine
networks: networks:
- internal - internal
secrets: secrets:
@ -63,14 +65,14 @@ services:
- POSTGRES_PASSWORD_FILE=/run/secrets/db_password - POSTGRES_PASSWORD_FILE=/run/secrets/db_password
redis: redis:
image: redis:6.0-alpine image: redis:7.0-alpine
networks: networks:
- internal - internal
volumes: volumes:
- 'redis_data:/data' - 'redis_data:/data'
sidekiq: sidekiq:
image: bitnami/discourse:2.7.7 image: bitnami/discourse:2.8.9
networks: networks:
- internal - internal
depends_on: depends_on: