1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-03 23:41:16 -05:00
sdrangel/swagger/docker/compose/compose.yml
2023-04-02 09:58:48 +02:00

32 lines
730 B
YAML

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