Add the go ytproxy.
This commit is contained in:
parent
b5bfca0280
commit
84b5008937
@ -1,4 +1,4 @@
|
|||||||
version: '3.8'
|
version: "3.8"
|
||||||
services:
|
services:
|
||||||
mariadb:
|
mariadb:
|
||||||
image: mariadb:10.5
|
image: mariadb:10.5
|
||||||
@ -12,6 +12,12 @@ services:
|
|||||||
- mysql:/var/lib/mysql
|
- mysql:/var/lib/mysql
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "mysqladmin", "ping", "--silent"]
|
test: ["CMD", "mysqladmin", "ping", "--silent"]
|
||||||
|
ytproxy:
|
||||||
|
image: 1337kavin/ytproxy:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- "/var/run/ytproxy:/app/socket/"
|
||||||
|
network_mode: host
|
||||||
yotter:
|
yotter:
|
||||||
image: ytorg/yotter:latest
|
image: ytorg/yotter:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@ -21,6 +27,7 @@ services:
|
|||||||
DATABASE_URL: mysql+pymysql://yotter:changeme@mariadb:3306/yotter
|
DATABASE_URL: mysql+pymysql://yotter:changeme@mariadb:3306/yotter
|
||||||
depends_on:
|
depends_on:
|
||||||
- mariadb
|
- mariadb
|
||||||
|
- ytproxy
|
||||||
volumes:
|
volumes:
|
||||||
- migrations:/usr/src/app/migrations
|
- migrations:/usr/src/app/migrations
|
||||||
- ./yotter-config.json:/usr/src/app/yotter-config.json
|
- ./yotter-config.json:/usr/src/app/yotter-config.json
|
||||||
|
Reference in New Issue
Block a user