-
Notifications
You must be signed in to change notification settings - Fork 106
Expand file tree
/
Copy pathdocker-compose.devcontainer.yml
More file actions
39 lines (39 loc) · 936 Bytes
/
docker-compose.devcontainer.yml
File metadata and controls
39 lines (39 loc) · 936 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
services:
workspace:
build:
context: .
# Note that the path of the Dockerfile and context is relative to the *primary*
# docker-compose.yml file (the first in the devcontainer.json "dockerComposeFile"
# array).
dockerfile: Dockerfile
tty: true
environment:
- RUST_VERSION=1.91.1
- RUST_BACKTRACE=1
- REDPANDA_BROKERS=redpanda:9092
volumes:
- /var/run/docker.sock:/var/run/docker.sock
cap_add:
- PERFMON
- IPC_LOCK
security_opt:
- seccomp:unconfined
ulimits:
memlock:
soft: -1
hard: -1
postgres-dev:
image: postgres:15-alpine
restart: always
ports:
- 5435:5432
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: postgres
PGDATA: /var/lib/pg/data
db-admin:
image: adminer:5-standalone
restart: always
ports:
- 5436:8080