IP of the docker bridge used to enable access between containers VariableĪllows to pass custom flags (e.g., volume mounts) to “docker run” when running LocalStack in Docker. trace for detailed request/response, trace-internal for internal calls, too.ĭocker is used extensively by LocalStack, and there are several configuration parameters for how LocalStack interacts with Docker. Currently overrides the DEBUG configuration. Trace, trace-internal, debug, info, warn, error, warning sh that are found default in /docker-entrypoint-initaws.d. Specify the path to the initializing files with extensions. See (TODO) for supported services and (TODO) for examples for third-party integration Only relevant for Community version, not relevant for advanced persistence mechanism in Pro.Ĭustom endpoint URL to use for a specific service, where is the uppercase service name. Whether to enable legacy persistence mechanism based on API calls record&replay (deprecated). Can be set to false to reduce storage size of DATA_DIR folders or Cloud Pods.
#Localstack docker network code#
Whether to persist all resources (including user code like Lambda functions), or only “light-weight” resources (e.g., SQS queues, Cognito users, etc).
#Localstack docker network pro#
Specify if persistence files should be combined (deprecated - only relevant for legacy persistence in Community version, not relevant for advanced persistence in Pro version). Local directory for saving persistent data (see: TODO) Required only for Lambda volume mounts when using LAMBDA_REMOTE_DOCKER=false.īlank (disabled/default), /tmp/localstack/data Temporary folder on the host that gets mounted as $TMPDIR/localstack into the LocalStack container. Temporary folder on the host running the CLI and inside the LocalStack container. Whether to use the light-weight Docker image. Specific name and tag of LocalStack Docker image to use. Localstack/localstack (default), localstack/localstack:0.11.0 , is used when returning queue URLs from the SQS service to the client. Port number to expose a specific service externally. This host is used, e.g., when returning queue URLs from the SQS service to the client.įlag to increase log level and print more verbose logs (useful for troubleshooting issues) Name of the host to expose the services externally. For framework-internal communication, e.g., services are started in different containers using docker-compose. Name of the host to expose the services internally.
Port number for the edge service, the main entry point for all API invocations. $ SERVICES=kinesis,lambda,sqs,dynamodb DEBUG=1 localstack start Core VariableĬomma-separated list of AWS CLI service names or shorthands to start up.