-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
53 lines (51 loc) · 1.17 KB
/
docker-compose.yml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: "3"
services:
db:
image: postgres:15-alpine
restart: unless-stopped
volumes:
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
- ./postgres_data:/var/lib/postgresql
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=db
- DB_HOST=db
- DB_PORT=5432
ports:
- "127.0.0.1:5432:5432"
app:
build: app/
restart: always
ports:
- 1337:1337
depends_on:
- db
links:
- db
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=db
- DB_HOST=db
- DB_PORT=5432
worker:
build: ./worker/
stdin_open: true
tty: true
privileged: true
environment:
- CELL_SEARCH=/srsRAN/build/lib/examples/cell_search
- SRSUE=/srsRAN/build/srsue/src/srsue
- SRSUECFG=/mnt/srsue/ue.conf
- SRSUELOG=/mnt/srsue/ue.log # write to volume is too slow
- DEVICE_ARGS=rxant=LNAW
- RX_GAIN=40
- API=app
- TIMEOUT=60
devices:
- "/dev/bus"
volumes:
- /dev/serial:/dev/serial:ro
- /dev/bus/usb:/dev/bus/usb:ro
- ./srsue:/mnt/srsue