mirror of
https://github.com/taigaio/taiga-docker.git
synced 2025-07-29 08:54:25 +02:00
Add taiga-events
This commit is contained in:
parent
74e567c602
commit
b2a4650e29
10
README.md
10
README.md
@ -26,10 +26,20 @@ Besides, `POSTGRES_HOST` where the database is set. By default, it's meant to be
|
|||||||
|
|
||||||
`TAIGA_PORT` should be the same as the exposed port in the `taiga-gateway`. Default is 9000.
|
`TAIGA_PORT` should be the same as the exposed port in the `taiga-gateway`. Default is 9000.
|
||||||
|
|
||||||
|
`TAIGA_SECRET_KEY` should be the same as this var in `taiga-events`
|
||||||
|
|
||||||
|
`RABBITMQ_USER` and `RABBITMQ_PASS` are used to leave messages in rabbitmq.
|
||||||
|
|
||||||
### Front: taiga-front
|
### Front: taiga-front
|
||||||
|
|
||||||
`TAIGA_PORT` should be the same as the exposed port in the `taiga-gateway`. Default is 9000.
|
`TAIGA_PORT` should be the same as the exposed port in the `taiga-gateway`. Default is 9000.
|
||||||
|
|
||||||
|
### Events: taiga-events
|
||||||
|
|
||||||
|
`TAIGA_SECRET_KEY` should be the same as this var in `taiga-back`
|
||||||
|
|
||||||
|
`RABBITMQ_USER` and `RABBITMQ_PASS` are used to read messages from rabbitmq.
|
||||||
|
|
||||||
## Complex customization
|
## Complex customization
|
||||||
|
|
||||||
For a complex customization, you can use configuration files, mapped to a specific directories inside the containers.
|
For a complex customization, you can use configuration files, mapped to a specific directories inside the containers.
|
||||||
|
@ -8,6 +8,7 @@ services:
|
|||||||
POSTGRES_USER: taiga
|
POSTGRES_USER: taiga
|
||||||
POSTGRES_PASSWORD: taiga
|
POSTGRES_PASSWORD: taiga
|
||||||
POSTGRES_HOST: taiga-db
|
POSTGRES_HOST: taiga-db
|
||||||
|
TAIGA_SECRET_KEY: "taiga-back-secret-key"
|
||||||
TAIGA_PORT: 9000
|
TAIGA_PORT: 9000
|
||||||
depends_on:
|
depends_on:
|
||||||
- taiga-db
|
- taiga-db
|
||||||
@ -20,6 +21,7 @@ services:
|
|||||||
POSTGRES_USER: taiga
|
POSTGRES_USER: taiga
|
||||||
POSTGRES_PASSWORD: taiga
|
POSTGRES_PASSWORD: taiga
|
||||||
POSTGRES_HOST: taiga-db
|
POSTGRES_HOST: taiga-db
|
||||||
|
TAIGA_SECRET_KEY: "taiga-back-secret-key"
|
||||||
TAIGA_PORT: 9000
|
TAIGA_PORT: 9000
|
||||||
depends_on:
|
depends_on:
|
||||||
- taiga-db
|
- taiga-db
|
||||||
|
@ -18,6 +18,9 @@ services:
|
|||||||
POSTGRES_PASSWORD: taiga
|
POSTGRES_PASSWORD: taiga
|
||||||
POSTGRES_HOST: taiga-db
|
POSTGRES_HOST: taiga-db
|
||||||
TAIGA_PORT: 9000
|
TAIGA_PORT: 9000
|
||||||
|
TAIGA_SECRET_KEY: "taiga-back-secret-key"
|
||||||
|
RABBITMQ_USER: taiga
|
||||||
|
RABBITMQ_PASS: taiga
|
||||||
volumes:
|
volumes:
|
||||||
- static-data:/taiga-back/static
|
- static-data:/taiga-back/static
|
||||||
- media-data:/taiga-back/media
|
- media-data:/taiga-back/media
|
||||||
@ -29,6 +32,21 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
TAIGA_PORT: 9000
|
TAIGA_PORT: 9000
|
||||||
|
|
||||||
|
taiga-events:
|
||||||
|
image: taigaio/taiga-events:alpha
|
||||||
|
environment:
|
||||||
|
RABBITMQ_USER: taiga
|
||||||
|
RABBITMQ_PASS: taiga
|
||||||
|
TAIGA_SECRET_KEY: "taiga-back-secret-key"
|
||||||
|
|
||||||
|
taiga-rabbitmq:
|
||||||
|
image: rabbitmq:3-management-alpine
|
||||||
|
environment:
|
||||||
|
RABBITMQ_ERLANG_COOKIE: secret-erlang-cookie
|
||||||
|
RABBITMQ_DEFAULT_USER: taiga
|
||||||
|
RABBITMQ_DEFAULT_PASS: taiga
|
||||||
|
RABBITMQ_DEFAULT_VHOST: taiga
|
||||||
|
|
||||||
taiga-gateway:
|
taiga-gateway:
|
||||||
image: nginx:1.19-alpine
|
image: nginx:1.19-alpine
|
||||||
ports:
|
ports:
|
||||||
|
@ -37,7 +37,6 @@ server {
|
|||||||
proxy_set_header X-Scheme $scheme;
|
proxy_set_header X-Scheme $scheme;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# Static
|
# Static
|
||||||
location /static {
|
location /static {
|
||||||
root /taiga;
|
root /taiga;
|
||||||
@ -47,4 +46,15 @@ server {
|
|||||||
location /media {
|
location /media {
|
||||||
root /taiga;
|
root /taiga;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Events
|
||||||
|
location /events {
|
||||||
|
proxy_pass http://taiga-events:8888/events;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "upgrade";
|
||||||
|
proxy_connect_timeout 7d;
|
||||||
|
proxy_send_timeout 7d;
|
||||||
|
proxy_read_timeout 7d;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user