Created
February 26, 2024 07:06
-
-
Save esirK/66030960395695027d2fa815f913b0d7 to your computer and use it in GitHub Desktop.
Localstack with docker swarm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.7' | |
services: | |
localstack: | |
image: localstack/localstack:3.0.2 | |
deploy: | |
placement: | |
constraints: [node.labels.localstack == true] | |
# Exposing ports on will result into Internal Server Error ("Could not attach to network ingress: rpc error: code = PermissionDenied desc = network ingress not manually attachable") | |
environment: | |
# LocalStack configuration: https://docs.localstack.cloud/references/configuration/ | |
- DEBUG=${DEBUG:-0} | |
volumes: | |
- "/var/run/docker.sock:/var/run/docker.sock" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment