Created
September 23, 2022 15:14
-
-
Save mitch-seymour/a36d8988e34b2368621200525d92b000 to your computer and use it in GitHub Desktop.
Docker compose with user
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: | |
redpanda: | |
user: '101:101' | |
image: docker.redpanda.com/vectorized/redpanda:v22.2.1 | |
container_name: redpanda-1 | |
command: | |
- redpanda | |
- start | |
- --smp | |
- '1' | |
- --reserve-memory | |
- 0M | |
- --overprovisioned | |
- --node-id | |
- '0' | |
- --kafka-addr | |
- PLAINTEXT://0.0.0.0:29092,OUTSIDE://0.0.0.0:9092 | |
- --advertise-kafka-addr | |
- PLAINTEXT://redpanda:29092,OUTSIDE://localhost:9092 | |
- --pandaproxy-addr | |
- PLAINTEXT://0.0.0.0:28082,OUTSIDE://0.0.0.0:8082 | |
- --advertise-pandaproxy-addr | |
- PLAINTEXT://redpanda:28082,OUTSIDE://localhost:8082 | |
ports: | |
- 8081:8081 | |
- 8082:8082 | |
- 9092:9092 | |
- 28082:28082 | |
- 29092:29092 | |
volumes: | |
- ./transforms:/transforms | |
- ./configs:/etc/redpanda |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment