-
-
Notifications
You must be signed in to change notification settings - Fork 4
feat(zammad): add config to stack.yml #202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 4 commits
5a70cc4
b1d4bd4
809c76b
2db82da
4a73d7e
8038985
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| zammad |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| <string> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| zammad |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| <string> |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -55,6 +55,12 @@ secrets: | |||||
| postgres_role_service_vibetype_username: | ||||||
| # The `tusd` database role's password. | ||||||
| file: ./secrets/postgres/role_service_vibetype_username.secret | ||||||
| postgres_role_service_zammad_password: | ||||||
| # The password of the customer service database role. | ||||||
| file: ./secrets/postgres/role_service_zammad_password.secret | ||||||
| postgres_role_service_zammad_username: | ||||||
| # The username of the customer service database role. | ||||||
| file: ./secrets/postgres/role_service_zammad_username.secret | ||||||
| postgres_user: | ||||||
| # The database's default user. | ||||||
| file: ./secrets/postgres/user.secret | ||||||
|
|
@@ -295,7 +301,7 @@ services: | |||||
| POSTGRES_DB_FILE: /run/secrets/postgres_db | ||||||
| POSTGRES_PASSWORD_FILE: /run/secrets/postgres_password | ||||||
| POSTGRES_USER_FILE: /run/secrets/postgres_user | ||||||
| image: postgis/postgis:17-3.5-alpine | ||||||
| image: imresamu/postgis:17-3.5.2-alpine3.21 | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To be reverted |
||||||
| ports: #DARGSTACK-REMOVE | ||||||
| - 5432:5432 #DARGSTACK-REMOVE | ||||||
| secrets: | ||||||
|
|
@@ -344,6 +350,162 @@ services: | |||||
| - postgres_user | ||||||
| volumes: | ||||||
| - ../../../reccoom/:/srv/app/ | ||||||
|
|
||||||
| zammad-elasticsearch: | ||||||
|
||||||
| image: bitnami/elasticsearch:${ELASTICSEARCH_VERSION:-8.18.0} | ||||||
|
||||||
| image: bitnami/elasticsearch:${ELASTICSEARCH_VERSION:-8.18.0} | |
| image: bitnami/elasticsearch:8.18.0 |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
restart does not exist for stack I believe, see deploy.restart_policy.condition (https://docs.docker.com/reference/compose-file/deploy/#restart_policy)
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
depends_on does not exist for stacks I believe
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this work? On https://docs.docker.com/reference/compose-file/services/#secrets it reads as if you have to name a file path for target.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's right in Swarm mode target: under secrets: needs to be a file path, not a variable name. I'll update it.
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar to elasticsearch, can this just be called redis?
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| image: zammad/zammad-docker-compose:latest | |
| image: zammad/zammad-docker-compose:6.5.0-85 |
maybe?
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I apply the same environment variables as for zammad-websocket the container starts nginx successfully. Also, port 8080 needs to be used, not 80.
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| zammad_storage: {} | |
| zammad_data: {} |


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to delete the comments