deleted docker compose from discourse

This commit is contained in:
Kevin Veen-Birkenbach 2023-12-08 16:55:21 +01:00
parent 74e4f41dbd
commit 6e2ba9700e
3 changed files with 0 additions and 45 deletions

View File

@ -1,11 +1,4 @@
--- ---
#- name: recreate discourse
# command:
# cmd: docker-compose up -d --force-recreate
# chdir: "{{docker_compose_instance_directory}}"
# environment:
# COMPOSE_HTTP_TIMEOUT: 600
# DOCKER_CLIENT_TIMEOUT: 600
- name: recreate discourse - name: recreate discourse
command: command:
cmd: ./launcher rebuild app cmd: ./launcher rebuild app

View File

@ -8,10 +8,6 @@
state: directory state: directory
mode: 0755 mode: 0755
#- name: add docker-compose.yml
# template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml
# notify: recreate discourse
- name: register directory - name: register directory
stat: stat:
path: "{{docker_compose_instance_directory}}" path: "{{docker_compose_instance_directory}}"

View File

@ -1,34 +0,0 @@
version: '3'
services:
discourse:
image: discourse/base:release
depends_on:
- database
- redis
volumes:
- data:/shared
environment:
DISCOURSE_DB_HOST: database
DISCOURSE_DB_NAME: discourse
DISCOURSE_DB_USERNAME: discourse
DISCOURSE_DB_PASSWORD: {{discourse_database_password}}
DISCOURSE_REDIS_HOST: redis
ports:
- "127.0.0.1:{{http_port}}:80"
database:
image: postgres:latest
environment:
POSTGRES_DB: discourse
POSTGRES_USER: discourse
POSTGRES_PASSWORD: {{discourse_database_password}}
volumes:
- database:/var/lib/postgresql/data
redis:
image: redis:latest
volumes:
- redis_data:/data
volumes:
database:
data:
redis_data: