Skip to content

Commit

Permalink
Copy default configs into docker
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev committed Jun 3, 2020
1 parent e7b9f97 commit 7ed3096
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 10 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ islb.Dockerfile
web.Dockerfile
docker-compose.yml
docker
configs
docs
screenshots
*/*/node_modules
Expand Down
9 changes: 0 additions & 9 deletions docker-compose.stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ version: "3.7"
services:
sfu:
image: pionwebrtc/ion-sfu:v0.4.1
command: "-c /configs/sfu.toml"
volumes:
- "./configs/docker/sfu.toml:/configs/sfu.toml"
ports:
- "5000-5200:5000-5200/udp"
depends_on:
Expand All @@ -16,9 +13,6 @@ services:

biz:
image: pionwebrtc/ion-biz:v0.4.1
command: "-c /configs/biz.toml"
volumes:
- "./configs/docker/biz.toml:/configs/biz.toml"
ports:
- 8443:8443
networks:
Expand All @@ -29,9 +23,6 @@ services:

islb:
image: pionwebrtc/ion-islb:v0.4.1
command: "-c /configs/islb.toml"
volumes:
- "./configs/docker/islb.toml:/configs/islb.toml"
depends_on:
- nats
- etcd
Expand Down
2 changes: 2 additions & 0 deletions docker/avp.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ FROM alpine:3.11.6
RUN apk --no-cache add ca-certificates
COPY --from=0 /avp /usr/local/bin/avp

COPY configs/docker/avp.toml /configs/avp.toml

ENTRYPOINT ["/usr/local/bin/avp"]
CMD ["-c", "/configs/avp.toml"]
2 changes: 2 additions & 0 deletions docker/biz.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ FROM alpine:3.11.6
RUN apk --no-cache add ca-certificates
COPY --from=0 /biz /usr/local/bin/biz

COPY configs/docker/biz.toml /configs/biz.toml

ENTRYPOINT ["/usr/local/bin/biz"]
CMD ["-c", "/configs/biz.toml"]
2 changes: 2 additions & 0 deletions docker/islb.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@ FROM alpine:3.11.6
RUN apk --no-cache add ca-certificates
COPY --from=0 /islb /usr/local/bin/islb

COPY configs/docker/islb.toml /configs/islb.toml

ENTRYPOINT ["/usr/local/bin/islb"]
CMD ["-c", "/configs/islb.toml"]
2 changes: 2 additions & 0 deletions docker/sfu.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ FROM alpine:3.11.6
RUN apk --no-cache add ca-certificates
COPY --from=0 /sfu /usr/local/bin/sfu

COPY configs/docker/sfu.toml /configs/sfu.toml

ENTRYPOINT ["/usr/local/bin/sfu"]
CMD ["-c", "/configs/sfu.toml"]

0 comments on commit 7ed3096

Please sign in to comment.