Created
February 23, 2017 06:05
-
-
Save kiuchikeisuke/5163b7f176e7e03e8e9055a8bb75961f to your computer and use it in GitHub Desktop.
openstf環境をUbuntu上に構築するためのdocker-compose.yamlファイル
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
stfdb: | |
image: rethinkdb:2 | |
ports: | |
- 8082:8080 | |
- 28015:28015 | |
command: rethinkdb --bind all | |
adbd: | |
image: sorccu/adb | |
ports: | |
- 5037:5037 | |
volumes: | |
- /dev/bus/usb:/dev/bus/usb | |
privileged: true | |
adb-devices: | |
image: sorccu/adb | |
tty: true | |
links: | |
- adbd:adbd | |
command: adb -H 172.18.0.1 -P 5037 devices | |
stf: | |
image: openstf/stf | |
ports: | |
- 8083:7100 #左側が外からアクセスするポート,右は内部で開けるポートで7100デフォルトで固定 | |
links: | |
- stfdb:stfdb | |
- adbd:adbd | |
environment: | |
- RETHINKDB_PORT_28015_TCP=tcp://stfdb:28015 | |
- RETHINKDB_ENV_DATABASE=stf | |
- RETHINKDB_ENV_AUTHKEY=admin | |
command: stf local -R --public-ip 172.18.0.4 --adb-host adbd #public-ipには自分自身のコンテナに割り当てられているipを指定する |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment