mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-25 22:21:04 +01:00
deleted docker compose from discourse
This commit is contained in:
parent
72f112f81e
commit
1d89ea0471
@ -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
|
||||||
|
@ -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}}"
|
||||||
|
@ -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:
|
|
Loading…
Reference in New Issue
Block a user