Closed haribtw closed 3 years ago
Hi @haribtw can you share your docker-compose.yml
(with credentials redacted) ?
Hi @haribtw can you share your
docker-compose.yml
(with credentials redacted) ?Hi @haribtw can you share your
docker-compose.yml
(with credentials redacted) ?
version: "3.5"
x-environment:
&default-back-environment
# Database settings
POSTGRES_DB: taiga
POSTGRES_USER: taiga
POSTGRES_PASSWORD: taiga
POSTGRES_HOST: taiga-db
POSTGRES_PORT: 5432
# Taiga settings
TAIGA_SECRET_KEY: ""
TAIGA_SITES_SCHEME: "http"
TAIGA_SITES_DOMAIN: "localhost"
TAIGA_SUBPATH: "" # "" or "/subpath"
# Email settings. Uncomment following lines and configure your SMTP server
# EMAIL_BACKEND: "django.core.mail.backends.smtp.EmailBackend"
# DEFAULT_FROM_EMAIL: "no-reply@example.com"
# EMAIL_USE_TLS: "False"
# EMAIL_USE_SSL: "False"
# EMAIL_HOST: "smtp.host.example.com"
# EMAIL_PORT: 587
# EMAIL_HOST_USER: "user"
# EMAIL_HOST_PASSWORD: "password"
# Rabbitmq settings
# Should be the same as in taiga-async-rabbitmq and taiga-events-rabbitmq
RABBITMQ_USER: taiga
RABBITMQ_PASS: taiga
# Telemetry settings
ENABLE_TELEMETRY: "False"
x-volumes:
&default-back-volumes
- taiga-static-data:/taiga-back/static
- taiga-media-data:/taiga-back/media
# - ./config.py:/taiga-back/settings/config.py
services:
taiga-db:
image: postgres:12.3
environment:
POSTGRES_DB: taiga
POSTGRES_USER: taiga
POSTGRES_PASSWORD: taiga
volumes:
- taiga-db-data:/var/lib/postgresql/data
networks:
- taiga
ports:
- "5432:5432"
taiga-back:
image: taigaio/taiga-back:latest
environment:
PUBLIC_REGISTER_ENABLED: "true"
ENABLE_SLACK: "True"
TAIGA_SECRET_KEY: ""
# Github Auth
ENABLE_GITHUB_AUTH: "True"
GITHUB_API_CLIENT_ID: ""
GITHUB_API_CLIENT_SECRET: ""
PUBLIC_REGISTER_ENABLED: "True"
# Github Importer
ENABLE_GITHUB_IMPORTER: "True"
GITHUB_IMPORTER_CLIENT_ID: ""
GITHUB_IMPORTER_CLIENT_SECRET: ""
# DB
POSTGRES_DB: taiga
POSTGRES_USER: taiga
POSTGRES_PASSWORD: taiga
POSTGRES_PORT: 5432
volumes: *default-back-volumes
networks:
- taiga
depends_on:
- taiga-db
- taiga-events-rabbitmq
- taiga-async-rabbitmq
taiga-async:
image: taigaio/taiga-back:latest
entrypoint: ["/taiga-back/docker/async_entrypoint.sh"]
environment: *default-back-environment
volumes: *default-back-volumes
networks:
- taiga
depends_on:
- taiga-db
- taiga-back
- taiga-async-rabbitmq
taiga-async-rabbitmq:
image: rabbitmq:3.8-management-alpine
environment:
RABBITMQ_ERLANG_COOKIE: secret-erlang-cookie
RABBITMQ_DEFAULT_USER: taiga
RABBITMQ_DEFAULT_PASS: taiga
RABBITMQ_DEFAULT_VHOST: taiga
volumes:
- taiga-async-rabbitmq-data:/var/lib/rabbitmq
networks:
- taiga
taiga-front:
image: taigaio/taiga-front:latest
environment:
TAIGA_URL: "http://localhost"
TAIGA_WEBSOCKETS_URL: "wss://localhost"
TAIGA_SUBPATH: "" # "" or "/subpath"
PUBLIC_REGISTER_ENABLED: "True"
ENABLE_SLACK: "True"
# Github Auth
ENABLE_GITHUB_AUTH: "true"
GITHUB_CLIENT_ID: ""
PUBLIC_REGISTER_ENABLED: "true"
# Github Importer
ENABLE_GITHUB_IMPORTER: "true"
networks:
- taiga
# volumes:
# - ./conf.json:/usr/share/nginx/html/conf.json
taiga-events:
image: taigaio/taiga-events:latest
environment:
RABBITMQ_USER: taiga
RABBITMQ_PASS: taiga
TAIGA_SECRET_KEY: ""
networks:
- taiga
depends_on:
- taiga-events-rabbitmq
taiga-events-rabbitmq:
image: rabbitmq:3.8-management-alpine
environment:
RABBITMQ_ERLANG_COOKIE: secret-erlang-cookie
RABBITMQ_DEFAULT_USER: taiga
RABBITMQ_DEFAULT_PASS: taiga
RABBITMQ_DEFAULT_VHOST: taiga
volumes:
- taiga-events-rabbitmq-data:/var/lib/rabbitmq
networks:
- taiga
taiga-protected:
image: taigaio/taiga-protected:latest
environment:
MAX_AGE: 360
SECRET_KEY: ""
TAIGA_SECRET_KEY: ""
networks:
- taiga
taiga-gateway:
image: nginx:1.19-alpine
ports:
- "9000:80"
volumes:
- ./taiga-gateway/taiga.conf:/etc/nginx/conf.d/taiga.conf
- taiga-static-data:/taiga/static
- taiga-media-data:/taiga/media
networks:
- taiga
depends_on:
- taiga-front
- taiga-back
- taiga-events
volumes:
taiga-static-data:
taiga-media-data:
taiga-db-data:
taiga-async-rabbitmq-data:
taiga-events-rabbitmq-data:
networks:
taiga:
your taiga-back configuration is no using the recommended &default-back-environment
; as far as i can see, in your version, you're not configuring POSTGRES_HOST which is necessary (and it's configured in the default example). Hope this helps!
Thanks a lot
The port is exposed when I check with
ss
but the socket path isn't created. Is there any way to fix it? This is causingtaiga-back
to exit with the following error: