# Configuration

**URL:** https://community.convox.com/c/configuration/14.md

[Latest](https://community.convox.com/latest.md) · [Categories](https://community.convox.com/categories.md)

---

## [Best Way to Handle Environment Variables Across Multiple Racks?](https://community.convox.com/t/best-way-to-handle-environment-variables-across-multiple-racks/974)

<div class="topic-metadata">

**Author:** [@mathewjacob20](https://community.convox.com/u/mathewjacob20)\
**Replies:** 0\
**Last updated:** [April 25, 2025, 9:54am UTC](https://community.convox.com/t/best-way-to-handle-environment-variables-across-multiple-racks/974 "2025-04-25T09:54:40Z")

</div>

Hi all, I’ve recently started managing multiple Convox racks for different environments (staging, production, etc.), and I’m running into a bit of a workflow challenge. I’m trying to figure out the cleanest and most eff…

---

## [Making service available internally and externally](https://community.convox.com/t/making-service-available-internally-and-externally/810)

<div class="topic-metadata">

**Author:** [@rhys](https://community.convox.com/u/rhys)\
**Replies:** 5\
**Last updated:** [February 26, 2025, 7:28pm UTC](https://community.convox.com/t/making-service-available-internally-and-externally/810 "2025-02-26T19:28:36Z")

</div>

Hello, I have a question related to DNS search suffixes for non-internal services (which remains unanswered). I would like to make a faktory service available internally on port 7419 for a tcp connection from another w…

---

## [Convox Build Instance Documentation](https://community.convox.com/t/convox-build-instance-documentation/948)

<div class="topic-metadata">

**Author:** [@cap](https://community.convox.com/u/cap)\
**Replies:** 4\
**Last updated:** [February 24, 2025, 9:12pm UTC](https://community.convox.com/t/convox-build-instance-documentation/948 "2025-02-24T21:12:13Z")

</div>

Hi all, I’ve got a build instance on AWS that I’d like to replace, but I can’t seem to find the documentation on build instances anymore. Does anyone have a link to the documentation? Thanks!

---

## [EFS is never working](https://community.convox.com/t/efs-is-never-working/941)

<div class="topic-metadata">

**Author:** [@convox-atex-developm](https://community.convox.com/u/convox-atex-developm)\
**Replies:** 0\
**Last updated:** [February 14, 2024, 12:18pm UTC](https://community.convox.com/t/efs-is-never-working/941 "2024-02-14T12:18:55Z")

</div>

Hi, Whenever we add efs as a resource as shown in the code snippet and deploy the application, it never promotes the build and we are getting following error: ERROR: json syntax error: line 203 pos 2: invalid characte…

---

## [Receiving template error when using volumes in convox.yaml](https://community.convox.com/t/receiving-template-error-when-using-volumes-in-convox-yaml/934)

<div class="topic-metadata">

**Author:** [@ryan1](https://community.convox.com/u/ryan1)\
**Replies:** 1\
**Last updated:** [September 11, 2023, 1:19pm UTC](https://community.convox.com/t/receiving-template-error-when-using-volumes-in-convox-yaml/934 "2023-09-11T13:19:26Z")

</div>

ERROR: template: :10:22: executing "" at \<.Labels\>: can't evaluate field Labels in type string services: api: build: . internal: true singleton: true health: path: /health grace: 30 por…

---

## [Export or access generated Terraform files](https://community.convox.com/t/export-or-access-generated-terraform-files/928)

<div class="topic-metadata">

**Author:** [@luke.mcmanus](https://community.convox.com/u/luke.mcmanus)\
**Replies:** 1\
**Last updated:** [August 30, 2023, 7:49pm UTC](https://community.convox.com/t/export-or-access-generated-terraform-files/928 "2023-08-30T19:49:33Z")

</div>

I would like to be able to access the Terraform code that is generated during the rack and app deploys. Is there a simple and easy way to do this? I noticed that during the initial rack installation, the terminal print…

---

## [How to fix the ECONNREFUSED ERROR in a Dockerized NodeJS application?](https://community.convox.com/t/how-to-fix-the-econnrefused-error-in-a-dockerized-nodejs-application/922)

<div class="topic-metadata">

**Author:** [@thingsveera](https://community.convox.com/u/thingsveera)\
**Replies:** 1\
**Last updated:** [June 27, 2023, 1:08am UTC](https://community.convox.com/t/how-to-fix-the-econnrefused-error-in-a-dockerized-nodejs-application/922 "2023-06-27T01:08:05Z")

</div>

I am trying to make a fetch request from a nodejs server ( that is dockerized --thus a container ) to a strapi server (that is also dockerized – thus a container ). I am running my containers using \[docker compose\](Docke…

---

## [Autoscaling Sidekiq Workers](https://community.convox.com/t/autoscaling-sidekiq-workers/772)

<div class="topic-metadata">

**Author:** [@chris](https://community.convox.com/u/chris)\
**Replies:** 7\
**Last updated:** [May 17, 2022, 10:35am UTC](https://community.convox.com/t/autoscaling-sidekiq-workers/772 "2022-05-17T10:35:20Z")

</div>

Hi, Was wondering if anyone has had success autoscaling Sidekiq worker instances based on queue depth? If so I’d love to hear about your experiences. Looking at the Convox docs I’d assume that I’d need to use something…

---

## [Non-scaling service?](https://community.convox.com/t/non-scaling-service/858)

<div class="topic-metadata">

**Author:** [@user3](https://community.convox.com/u/user3)\
**Replies:** 0\
**Last updated:** [December 20, 2021, 12:32am UTC](https://community.convox.com/t/non-scaling-service/858 "2021-12-20T00:32:59Z")

</div>

I have a bit of a strange use-case, but I’m interested in deploying a set of non-scaling services (because of reasons!) alongside a set of normal, horizontally-scaled services. I think I can achieve the equivalent by mak…

---

## [Linking a syslog resource](https://community.convox.com/t/linking-a-syslog-resource/73)

<div class="topic-metadata">

**Author:** [@julian](https://community.convox.com/u/julian)\
**Replies:** 6\
**Last updated:** [June 30, 2021, 6:28pm UTC](https://community.convox.com/t/linking-a-syslog-resource/73 "2021-06-30T18:28:02Z")

</div>

What’s the proper way to link syslog resources (e.g. papertrail) to a generation 2 app? For generation 1 it was resources link but gen 2 does it differently, and the docs don’t mention syslog. I imagine it’s either a co…

---

## [Health Check - Without Http](https://community.convox.com/t/health-check-without-http/806)

<div class="topic-metadata">

**Author:** [@tomer](https://community.convox.com/u/tomer)\
**Replies:** 0\
**Last updated:** [March 17, 2021, 9:21am UTC](https://community.convox.com/t/health-check-without-http/806 "2021-03-17T09:21:22Z")

</div>

Hi, I am using celery and I am trying to find the way to add Health-check CMD. The Convox doc only describe using http endpoint, is there option to run command line? The celery health-check for example is: celery ins…

---

## [Deployment notification for arbitrary systems](https://community.convox.com/t/deployment-notification-for-arbitrary-systems/803)

<div class="topic-metadata">

**Author:** [@rob.sharp](https://community.convox.com/u/rob.sharp)\
**Replies:** 0\
**Last updated:** [February 20, 2021, 1:37am UTC](https://community.convox.com/t/deployment-notification-for-arbitrary-systems/803 "2021-02-20T01:37:20Z")

</div>

I’d like to be able to notify other systems when a deployment takes place. I have a Gen2 convox rack. I thought about a simple bin script which runs as part of the workflow, and perhaps checks the rack name and executes…

---

## [Errors after renaming a rack](https://community.convox.com/t/errors-after-renaming-a-rack/794)

<div class="topic-metadata">

**Author:** [@john2](https://community.convox.com/u/john2)\
**Replies:** 0\
**Last updated:** [November 30, 2020, 4:11pm UTC](https://community.convox.com/t/errors-after-renaming-a-rack/794 "2020-11-30T16:11:44Z")

</div>

I tried to rename a rack via the web GUI. Subsequently, I got a generic error when I clicked on an app in that rack: An error has occurred while loading this content. I named it back to the original name, but same error.…

---

## [How to install docker?](https://community.convox.com/t/how-to-install-docker/793)

<div class="topic-metadata">

**Author:** [@radha.kasam123](https://community.convox.com/u/radha.kasam123)\
**Replies:** 0\
**Last updated:** [November 27, 2020, 9:11am UTC](https://community.convox.com/t/how-to-install-docker/793 "2020-11-27T09:11:04Z")

</div>

Docker is a software platform for creating container-based applications: small and live execution units that are used by the kernel of the operating system kernel, which, for the time being, execute a form that is execut…

---

## [Do service level variables work only for non image services](https://community.convox.com/t/do-service-level-variables-work-only-for-non-image-services/790)

<div class="topic-metadata">

**Author:** [@rgokhale](https://community.convox.com/u/rgokhale)\
**Replies:** 0\
**Last updated:** [November 5, 2020, 9:45pm UTC](https://community.convox.com/t/do-service-level-variables-work-only-for-non-image-services/790 "2020-11-05T21:45:50Z")

</div>

If I have a service that is using a image and also has service level variables defined, I cant seem to access the service level variables in the service, they just don’t show up. Am I missing something here? For example…

---

## [Example applications](https://community.convox.com/t/example-applications/605)

<div class="topic-metadata">

**Author:** [@ed\_convox](https://community.convox.com/u/ed_convox)\
**Replies:** 4\
**Last updated:** [September 19, 2020, 12:20am UTC](https://community.convox.com/t/example-applications/605 "2020-09-19T00:20:27Z")

</div>

Hey! I’m going to be working on updating/creating new example applications to demonstrate the simple steps required to get up and going on Convox. Just wondered if anyone has any specific requests for languages/framewo…

---

## [Docker buildkit](https://community.convox.com/t/docker-buildkit/771)

<div class="topic-metadata">

**Author:** [@ian](https://community.convox.com/u/ian)\
**Replies:** 0\
**Last updated:** [August 14, 2020, 11:08am UTC](https://community.convox.com/t/docker-buildkit/771 "2020-08-14T11:08:00Z")

</div>

I’m trying to pass secrets to the docker build environment (not the live container). I could achieve what I need to using Docker buildkit. Is it possible to enable buildkit with convox?

---

## [What is the difference between Amazon S3 and EC2?](https://community.convox.com/t/what-is-the-difference-between-amazon-s3-and-ec2/770)

<div class="topic-metadata">

**Author:** [@sowjanya.271994](https://community.convox.com/u/sowjanya.271994)\
**Replies:** 0\
**Last updated:** [August 14, 2020, 6:57am UTC](https://community.convox.com/t/what-is-the-difference-between-amazon-s3-and-ec2/770 "2020-08-14T06:57:18Z")

</div>

Hi, While i am learning AWS Developer i had a doubt regarding Amazon S3,EC2 Can any tell me the difference between Amazon S3 and EC2?

---

## [Suggestions for duplicating production DB to staging?](https://community.convox.com/t/suggestions-for-duplicating-production-db-to-staging/769)

<div class="topic-metadata">

**Author:** [@david.parry](https://community.convox.com/u/david.parry)\
**Replies:** 0\
**Last updated:** [August 11, 2020, 4:45am UTC](https://community.convox.com/t/suggestions-for-duplicating-production-db-to-staging/769 "2020-08-11T04:45:50Z")

</div>

Are there any recommended ways to add a timer task that can replicate a database from production to a staging app? We’re using AWS RDS Postgres and a version 3 rack. We have an existing bash script I can refactor, but …

---

## [Are app environment vars available at build time?](https://community.convox.com/t/are-app-environment-vars-available-at-build-time/755)

<div class="topic-metadata">

**Author:** [@syngency](https://community.convox.com/u/syngency)\
**Replies:** 2\
**Last updated:** [June 18, 2020, 5:33am UTC](https://community.convox.com/t/are-app-environment-vars-available-at-build-time/755 "2020-06-18T05:33:19Z")

</div>

We need to pass our AWS credentials to a grunt task in our Dockerfile, but it doesn’t seem that convox build (or a build created by an automated workflow) can access any of the environment variables set in the convox.yml …

---

## [When are environment variables available?](https://community.convox.com/t/when-are-environment-variables-available/627)

<div class="topic-metadata">

**Author:** [@moises](https://community.convox.com/u/moises)\
**Replies:** 2\
**Last updated:** [June 18, 2020, 3:44am UTC](https://community.convox.com/t/when-are-environment-variables-available/627 "2020-06-18T03:44:47Z")

</div>

I have a setup where my Dockerfile will call a bash script bin/createfile Dockerfile: FROM mysql:5.6 COPY bin/ /bin/ ENV MYSQL\_ROOT\_PASSWORD=somepassword RUN bin/createfile CMD \["mysqld", "--character-set-server=utf8mb…

---

## [How to configure SSL for local environment](https://community.convox.com/t/how-to-configure-ssl-for-local-environment/735)

<div class="topic-metadata">

**Author:** [@syngency](https://community.convox.com/u/syngency)\
**Replies:** 1\
**Last updated:** [April 23, 2020, 10:12pm UTC](https://community.convox.com/t/how-to-configure-ssl-for-local-environment/735 "2020-04-23T22:12:34Z")

</div>

I’m trying to understand how the Convox local environment works with SSL. Ideally I’d like to be able to use https://localhost and have followed instructions on setting this up with Docker containers, but it looks like …

---

## [Out Of Memory Error](https://community.convox.com/t/out-of-memory-error/710)

<div class="topic-metadata">

**Author:** [@jake1](https://community.convox.com/u/jake1)\
**Replies:** 1\
**Last updated:** [March 4, 2020, 11:15am UTC](https://community.convox.com/t/out-of-memory-error/710 "2020-03-04T11:15:49Z")

</div>

Hello, I’m running into an issue where I get this error message: Here are my rack settings: INSTANCE SIZE: t3.small DEDICATED BUILDER: t3.small BUILD MEMORY: 2000MB BUILD VOLUME: 100GB I just bumped the build me…

---

## [Interpolating resource urls into environment](https://community.convox.com/t/interpolating-resource-urls-into-environment/681)

<div class="topic-metadata">

**Author:** [@rob.sharp](https://community.convox.com/u/rob.sharp)\
**Replies:** 2\
**Last updated:** [January 28, 2020, 11:30am UTC](https://community.convox.com/t/interpolating-resource-urls-into-environment/681 "2020-01-28T11:30:30Z")

</div>

Hi, I’m using Hasura and wish to use a rack-level resource URL in an environment variable. The resource is named ‘database’ so it is given the variable name DATABASE\_URL. Hasura expects the database configuration env …

---

## [Latest version of Sidekiq (a Ruby background job library) requires a Redis version that seems incompatible with Convox](https://community.convox.com/t/latest-version-of-sidekiq-a-ruby-background-job-library-requires-a-redis-version-that-seems-incompatible-with-convox/677)

<div class="topic-metadata">

**Author:** [@sasha](https://community.convox.com/u/sasha)\
**Replies:** 1\
**Last updated:** [January 20, 2020, 7:00pm UTC](https://community.convox.com/t/latest-version-of-sidekiq-a-ruby-background-job-library-requires-a-redis-version-that-seems-incompatible-with-convox/677 "2020-01-20T19:00:36Z")

</div>

In the process of upgrading to Rails 6, we’ve had to update the Sidekiq gem, which we’re using with Redis. But when our app launches a background job, it fails with the following messages: Booting Sidekiq 6.0.3 with red…

---

## [Default environment variables don't apply to resources](https://community.convox.com/t/default-environment-variables-dont-apply-to-resources/669)

<div class="topic-metadata">

**Author:** [@julian](https://community.convox.com/u/julian)\
**Replies:** 0\
**Last updated:** [December 13, 2019, 9:42pm UTC](https://community.convox.com/t/default-environment-variables-dont-apply-to-resources/669 "2019-12-13T21:42:20Z")

</div>

As far as I can tell, given a config like: resources: database: type: postgres options: class: "${DATABASE\_CLASS}" durable: false encrypted: "${DATABASE\_DURABLE}" storage: "${DATABASE\_S…

---

## [Service build path not relative to manifest with --manifest?](https://community.convox.com/t/service-build-path-not-relative-to-manifest-with-manifest/665)

<div class="topic-metadata">

**Author:** [@andreas.nilsson](https://community.convox.com/u/andreas.nilsson)\
**Replies:** 0\
**Last updated:** [December 5, 2019, 8:15am UTC](https://community.convox.com/t/service-build-path-not-relative-to-manifest-with-manifest/665 "2019-12-05T08:15:53Z")

</div>

When building a Convox app using (f.e.) a deployment workflow, the command line being run is something like: convox build --app my-app --description 'test build' --id --manifest my-app/convox.yml --development Where th…

---

## [Enabling swap on a service](https://community.convox.com/t/enabling-swap-on-a-service/592)

<div class="topic-metadata">

**Author:** [@scott](https://community.convox.com/u/scott)\
**Replies:** 3\
**Last updated:** [November 1, 2019, 9:19pm UTC](https://community.convox.com/t/enabling-swap-on-a-service/592 "2019-11-01T21:19:02Z")

</div>

Right now the memory limits appear to be hard limits before the service container is killed. I see that in https://github.com/aws/containers-roadmap/issues/322 ECS supports swap now. I also see in the ECS task definiti…

---

## [Duplication of timer names doesn't return an error](https://community.convox.com/t/duplication-of-timer-names-doesnt-return-an-error/638)

<div class="topic-metadata">

**Author:** [@rob.sharp](https://community.convox.com/u/rob.sharp)\
**Replies:** 1\
**Last updated:** [November 1, 2019, 9:13am UTC](https://community.convox.com/t/duplication-of-timer-names-doesnt-return-an-error/638 "2019-11-01T09:13:35Z")

</div>

Just finished debugging an issue whereby one timer was running but another was not. The cause was two timers with the same name, defined in convox.yml e.g. timers: topic-download: schedule: "21 \*/4 \* \* ?" com…

---

## [Git SHA hash as environment varaible](https://community.convox.com/t/git-sha-hash-as-environment-varaible/641)

<div class="topic-metadata">

**Author:** [@sparky](https://community.convox.com/u/sparky)\
**Replies:** 0\
**Last updated:** [October 31, 2019, 10:17pm UTC](https://community.convox.com/t/git-sha-hash-as-environment-varaible/641 "2019-10-31T22:17:03Z")

</div>

I’d like to have my git sha hash of HEAD as an environment variable - any suggestions for how to accomplish this with convox? Everything I’ve seen elsewhere involves setting a custom build arg, that is then read in duri…

[Next page](https://community.convox.com/c/configuration/14.md?page=1)
