mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
services:
|
|
piped:
|
|
image: 1337kavin/piped:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- "127.0.0.1:8080:8080"
|
|
volumes:
|
|
- ./config.yugabytedb.properties:/app/config.properties
|
|
depends_on:
|
|
- yb-tserver
|
|
command: [ "sh", "-c", "sleep 10 && java --enable-preview -jar piped.jar" ]
|
|
yb-master:
|
|
image: yugabytedb/yugabyte:latest
|
|
command:
|
|
[
|
|
"/home/yugabyte/bin/yb-master",
|
|
"--fs_data_dirs=/mnt/master",
|
|
"--master_addresses=yb-master:7100",
|
|
"--rpc_bind_addresses=yb-master:7100",
|
|
"--replication_factor=1"
|
|
]
|
|
environment:
|
|
SERVICE_7000_NAME: yb-master
|
|
yb-tserver:
|
|
image: yugabytedb/yugabyte:latest
|
|
command:
|
|
[
|
|
"/home/yugabyte/bin/yb-tserver",
|
|
"--fs_data_dirs=/mnt/tserver",
|
|
"--start_pgsql_proxy",
|
|
"--rpc_bind_addresses=yb-tserver:9100",
|
|
"--tserver_master_addrs=yb-master:7100"
|
|
]
|
|
environment:
|
|
SERVICE_5433_NAME: ysql
|
|
SERVICE_9042_NAME: ycql
|
|
SERVICE_6379_NAME: yedis
|
|
SERVICE_9000_NAME: yb-tserver
|
|
depends_on:
|
|
- yb-master
|