# Configuration

**URL:** https://community.convox.com/c/configuration/14.md?page=1

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

**Page:** 2

---

## [ECS Fargate](https://community.convox.com/t/ecs-fargate/626)

<div class="topic-metadata">

**Author:** [@wilkins.ortiz05](https://community.convox.com/u/wilkins.ortiz05)\
**Replies:** 6\
**Last updated:** [October 10, 2019, 3:24pm UTC](https://community.convox.com/t/ecs-fargate/626 "2019-10-10T15:24:12Z")

</div>

has someone saw this error before ? ERROR: InvalidParameterException: No Container Instances were found in your cluster.

---

## [Timer not found](https://community.convox.com/t/timer-not-found/624)

<div class="topic-metadata">

**Author:** [@moises](https://community.convox.com/u/moises)\
**Replies:** 2\
**Last updated:** [October 7, 2019, 6:38pm UTC](https://community.convox.com/t/timer-not-found/624 "2019-10-07T18:38:22Z")

</div>

I have the following codebase structure app.js Dockerfile bin/ cleanup timers/ topic/ Dockerfile convox.yml and my convox.yml looks like services: web: build: . port: 3000 timers: build: ./timer…

---

## [Production & Staging Timers](https://community.convox.com/t/production-staging-timers/621)

<div class="topic-metadata">

**Author:** [@moises](https://community.convox.com/u/moises)\
**Replies:** 3\
**Last updated:** [October 7, 2019, 9:31am UTC](https://community.convox.com/t/production-staging-timers/621 "2019-10-07T09:31:56Z")

</div>

I have two stacks: production and staging. Both have the same exact codebase and use the same convox.yml. If I setup a cron job (aka Timers) and both racks have the same convox.yml I will have the exact same cron job ru…

---

## [Can I se tup environment variables for timers?](https://community.convox.com/t/can-i-se-tup-environment-variables-for-timers/538)

<div class="topic-metadata">

**Author:** [@scastro](https://community.convox.com/u/scastro)\
**Replies:** 4\
**Last updated:** [October 3, 2019, 3:38pm UTC](https://community.convox.com/t/can-i-se-tup-environment-variables-for-timers/538 "2019-10-03T15:38:18Z")

</div>

HI everyone, It is possible to set up environment variables for a timer? Something like timers: crontest: command: /bin/command environment: - FOO=BAR - FOO1=BAR1 schedule: "2 \* \* \* ? \*" …

---

## [Datadog + Fargate](https://community.convox.com/t/datadog-fargate/570)

<div class="topic-metadata">

**Author:** [@idris](https://community.convox.com/u/idris)\
**Replies:** 1\
**Last updated:** [September 26, 2019, 5:42am UTC](https://community.convox.com/t/datadog-fargate/570 "2019-09-26T05:42:03Z")

</div>

I’m trying to enable FargateTimers=Yes, but I realized that will cause problems because the app will try to report to the Datadog agent, which is not running in Fargate. Datadog has some instructions on how to setup the…

---

## [CircleCI select branch to deploy](https://community.convox.com/t/circleci-select-branch-to-deploy/607)

<div class="topic-metadata">

**Author:** [@moises](https://community.convox.com/u/moises)\
**Replies:** 1\
**Last updated:** [September 23, 2019, 10:21am UTC](https://community.convox.com/t/circleci-select-branch-to-deploy/607 "2019-09-23T10:21:42Z")

</div>

Looking at the docs for the CircleCi Convox Orb, there is something that is not clear. How do you select the branch you want to deploy to the Rack/App?

---

## [Use env variable in app](https://community.convox.com/t/use-env-variable-in-app/596)

<div class="topic-metadata">

**Author:** [@moises](https://community.convox.com/u/moises)\
**Replies:** 2\
**Last updated:** [September 2, 2019, 10:40pm UTC](https://community.convox.com/t/use-env-variable-in-app/596 "2019-09-02T22:40:14Z")

</div>

I’m running a Node.js app and I have setup my env variable like this: convox env set dbHost=domain1.com But in my app when I try to access the env variable like this, like I would normally do for an env variable: { …

---

## [High memory service requirements](https://community.convox.com/t/high-memory-service-requirements/552)

<div class="topic-metadata">

**Author:** [@scott](https://community.convox.com/u/scott)\
**Replies:** 3\
**Last updated:** [August 30, 2019, 3:28pm UTC](https://community.convox.com/t/high-memory-service-requirements/552 "2019-08-30T15:28:49Z")

</div>

We are using and want to be able to use t3.small’s for the bulk of the cluster. Most of our stuff fits in a small memory budget just fine. We have some large render jobs that need 4+ GB of memory though. We are coming…

---

## [MongoDB Config](https://community.convox.com/t/mongodb-config/577)

<div class="topic-metadata">

**Author:** [@chris](https://community.convox.com/u/chris)\
**Replies:** 0\
**Last updated:** [August 2, 2019, 5:47pm UTC](https://community.convox.com/t/mongodb-config/577 "2019-08-02T17:47:42Z")

</div>

Hi, Does anyone have any experience running MongoDB with Convox? I have the docker image running as a service, but am seeing the following error in my logs: Error receiving request from client: ProtocolError: Client se…

---

## [Mutiline env variables](https://community.convox.com/t/mutiline-env-variables/571)

<div class="topic-metadata">

**Author:** [@kmikhailets](https://community.convox.com/u/kmikhailets)\
**Replies:** 2\
**Last updated:** [July 23, 2019, 6:09pm UTC](https://community.convox.com/t/mutiline-env-variables/571 "2019-07-23T18:09:22Z")

</div>

Hey there! How can I add multiline env variable? I’ve tried to add it via console.convox.com, and only first line is added, other lines are being truncated. Tried via convox env set VAR $VAR, and it’s being set as singl…

---

## [Can I set a different user for the Docker container?](https://community.convox.com/t/can-i-set-a-different-user-for-the-docker-container/545)

<div class="topic-metadata">

**Author:** [@nathan.f77](https://community.convox.com/u/nathan.f77)\
**Replies:** 2\
**Last updated:** [June 3, 2019, 3:24pm UTC](https://community.convox.com/t/can-i-set-a-different-user-for-the-docker-container/545 "2019-06-03T15:24:49Z")

</div>

I would like to start some Docker containers as a different Linux user. I can do this by specifying a fixed USER step in the Dockerfile, but sometimes I need to run a command as a user with more permissions. Another appr…

---

## [Is anyone running Matomo on Convox?](https://community.convox.com/t/is-anyone-running-matomo-on-convox/511)

<div class="topic-metadata">

**Author:** [@nathan.f77](https://community.convox.com/u/nathan.f77)\
**Replies:** 0\
**Last updated:** [April 29, 2019, 3:23pm UTC](https://community.convox.com/t/is-anyone-running-matomo-on-convox/511 "2019-04-29T15:23:50Z")

</div>

I’m interested in running Matomo, which is an open source analytics platform. Their docker repo has some docker-compose.yml examples, and it seems pretty straightforward to get it running. Has anyone run Matomo on Conv…

---

## [Accessing postgres created with \`convox resources create ...\` through CLI](https://community.convox.com/t/accessing-postgres-created-with-convox-resources-create-through-cli/76)

<div class="topic-metadata">

**Author:** [@brandontruong](https://community.convox.com/u/brandontruong)\
**Replies:** 6\
**Last updated:** [April 27, 2019, 6:50pm UTC](https://community.convox.com/t/accessing-postgres-created-with-convox-resources-create-through-cli/76 "2019-04-27T18:50:27Z")

</div>

I created a couple postgres instances in the past with convox resources create postgres (not in my convox.yml) in the past, which are not accessible through convox resources info/proxy ... anymore (getting 400s). Is the…

---

## [Graceful process shutdown for overridden commands](https://community.convox.com/t/graceful-process-shutdown-for-overridden-commands/497)

<div class="topic-metadata">

**Author:** [@sparky](https://community.convox.com/u/sparky)\
**Replies:** 1\
**Last updated:** [April 24, 2019, 2:26am UTC](https://community.convox.com/t/graceful-process-shutdown-for-overridden-commands/497 "2019-04-24T02:26:33Z")

</div>

I have a ruby app where we have several services all built off a single Docker image - my convox.yml has under each non-default service, such as a background worker, an entry like: build: . command: bundle exec resque-…

---

## [2 factor cli with yubikey](https://community.convox.com/t/2-factor-cli-with-yubikey/80)

<div class="topic-metadata">

**Author:** [@ti-stg](https://community.convox.com/u/ti-stg)\
**Replies:** 1\
**Last updated:** [March 30, 2019, 1:01am UTC](https://community.convox.com/t/2-factor-cli-with-yubikey/80 "2019-03-30T01:01:11Z")

</div>

Hello, I\`d like to know if the 2 factor with yubikey is valid to console and cli, or only console. thanks

---

## [Does enabling syslog forwarding disable cloudwatch logs?](https://community.convox.com/t/does-enabling-syslog-forwarding-disable-cloudwatch-logs/472)

<div class="topic-metadata">

**Author:** [@erik](https://community.convox.com/u/erik)\
**Replies:** 0\
**Last updated:** [March 26, 2019, 11:47pm UTC](https://community.convox.com/t/does-enabling-syslog-forwarding-disable-cloudwatch-logs/472 "2019-03-26T23:47:46Z")

</div>

If I route my logs to a 3rd party using convox rack resources create syslog \[destination\] will that disable the builtin cloudwatch logging? Or will logs be sent to both destinations?

---

## [Validating convox.yml](https://community.convox.com/t/validating-convox-yml/447)

<div class="topic-metadata">

**Author:** [@sparky](https://community.convox.com/u/sparky)\
**Replies:** 0\
**Last updated:** [March 14, 2019, 4:53pm UTC](https://community.convox.com/t/validating-convox-yml/447 "2019-03-14T16:53:56Z")

</div>

Has anyone done work on linting/validating your convox.yml? Are there any tricks to do this with the CLI prior to running a convox deploy / workflow? I’d like to have this as a CI check and something to run locally whe…

---

## [Env vars and default values in scaling configuration](https://community.convox.com/t/env-vars-and-default-values-in-scaling-configuration/446)

<div class="topic-metadata">

**Author:** [@gustav.barkefors](https://community.convox.com/u/gustav.barkefors)\
**Replies:** 0\
**Last updated:** [March 12, 2019, 7:26pm UTC](https://community.convox.com/t/env-vars-and-default-values-in-scaling-configuration/446 "2019-03-12T19:26:24Z")

</div>

I’m trying to achieve the following: environment: - SCALE\_RANGE=2-4 services: foo: ... environment: - "\*" scale: count: ${SCALE\_RANGE} ... i.e. a self-contained sane default in convox.…

---

## [Application websockets](https://community.convox.com/t/application-websockets/445)

<div class="topic-metadata">

**Author:** [@jake](https://community.convox.com/u/jake)\
**Replies:** 0\
**Last updated:** [March 11, 2019, 10:23pm UTC](https://community.convox.com/t/application-websockets/445 "2019-03-11T22:23:07Z")

</div>

Is there an equivalent (in gen2) for the label “convox.router.path”?

---

## [Problems to set spot instances](https://community.convox.com/t/problems-to-set-spot-instances/417)

<div class="topic-metadata">

**Author:** [@ti-stg](https://community.convox.com/u/ti-stg)\
**Replies:** 1\
**Last updated:** [February 27, 2019, 2:53pm UTC](https://community.convox.com/t/problems-to-set-spot-instances/417 "2019-02-27T14:53:10Z")

</div>

Hello, I’ve 25 instances on convox, and I try to set spot instances. I have configured MinOndemand to 5 and SpotInstanceBid to 0.1330, this is the r4.large on demand pricing. But I receive the follow error on CloudFor…

---

## [Different domains between production and staging](https://community.convox.com/t/different-domains-between-production-and-staging/421)

<div class="topic-metadata">

**Author:** [@phuongnd08](https://community.convox.com/u/phuongnd08)\
**Replies:** 1\
**Last updated:** [February 27, 2019, 2:51pm UTC](https://community.convox.com/t/different-domains-between-production-and-staging/421 "2019-02-27T14:51:03Z")

</div>

We want a different set of domains for production and staging (each one on a different rack) One option is to list all domains in convox.yml, but since every domain cost an ELB rules, it doesn’t make a lot of sense (EL…

---

## [Configuration of ports for services](https://community.convox.com/t/configuration-of-ports-for-services/408)

<div class="topic-metadata">

**Author:** [@mark](https://community.convox.com/u/mark)\
**Replies:** 0\
**Last updated:** [February 19, 2019, 5:15pm UTC](https://community.convox.com/t/configuration-of-ports-for-services/408 "2019-02-19T17:15:40Z")

</div>

Right now I’m looking at trying to host GitLab CE with Convox. For this to work we need to expose ssh and https. It looks like each service can only expose a single port. Which is fine, it’s okay to have a separate ser…

---

## [Reset scale for all services](https://community.convox.com/t/reset-scale-for-all-services/48)

<div class="topic-metadata">

**Author:** [@ops](https://community.convox.com/u/ops)\
**Replies:** 10\
**Last updated:** [February 11, 2019, 2:12pm UTC](https://community.convox.com/t/reset-scale-for-all-services/48 "2019-02-11T14:12:55Z")

</div>

Is there a way to reset the scale of all services to what’s specified in Convox.yml? I discovered that I’m currently waaaay over provisioned for most of my services, and so I scaled each of my services appropriately in …

---

## [Scale count equivalent for Fargate](https://community.convox.com/t/scale-count-equivalent-for-fargate/64)

<div class="topic-metadata">

**Author:** [@convox](https://community.convox.com/u/convox)\
**Replies:** 1\
**Last updated:** [February 7, 2019, 4:05pm UTC](https://community.convox.com/t/scale-count-equivalent-for-fargate/64 "2019-02-07T16:05:34Z")

</div>

I am playing around with the usage of Fargate for one of the applications within the rack and I was attempting to scale up the number of tasks for a given service and it doesn’t appear to like the --count params. It acc…

---

## [Linking containers in gen2](https://community.convox.com/t/linking-containers-in-gen2/50)

<div class="topic-metadata">

**Author:** [@alessandro](https://community.convox.com/u/alessandro)\
**Replies:** 1\
**Last updated:** [February 5, 2019, 1:18pm UTC](https://community.convox.com/t/linking-containers-in-gen2/50 "2019-02-05T13:18:50Z")

</div>

Hello, I am new to using convox and trying to migrate an old gen1 app to gen2. A bunch of our containers were getting link env vars (HOST, SCHEMA, ect.) injected using the links tag. I was wondering what the best practi…

---

## [Share volumes between several services](https://community.convox.com/t/share-volumes-between-several-services/40)

<div class="topic-metadata">

**Author:** [@scastro](https://community.convox.com/u/scastro)\
**Replies:** 1\
**Last updated:** [January 31, 2019, 7:17pm UTC](https://community.convox.com/t/share-volumes-between-several-services/40 "2019-01-31T19:17:19Z")

</div>

Hi guys, I would like to know if it is possible to share a volume between several services. I’m asking because I have three different services that will send their logs to a share volume, and then, another service (Flue…

[Previous page](https://community.convox.com/c/configuration/14.md)
