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

30 lines
686 B
YAML

version: '3'
services:
swgcodegen:
image: "sdrangel/swagger/codegen:${IMAGE_CODEGEN_VERSION}"
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}"
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