1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-10 18:43:28 -05:00
sdrangel/swagger/docker/compose/compose.yml

32 lines
730 B
YAML
Raw Normal View History

version: '3'
services:
swgcodegen:
image: "sdrangel/swagger/codegen:${IMAGE_CODEGEN_VERSION}"
2023-03-18 07:48:21 -04:00
user: "1000:1000"
container_name: "sdrangel_swgcodegen"
volumes:
- "${SDRANGEL_BASE}:/opt/build/sdrangel:rw"
networks:
default:
ipv4_address: 172.20.0.2
stdin_open: true
tty: true
swgserver:
image: "sdrangel/swagger/server:${IMAGE_SERVER_VERSION}"
2023-03-18 07:48:21 -04:00
user: "1000:1000"
container_name: "sdrangel_swgserver"
volumes:
- "${SDRANGEL_BASE}:/opt/build/sdrangel:rw"
expose:
- "8081"
networks:
default:
ipv4_address: 172.20.0.3
networks:
default:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.20.0.0/16