|
@@ -0,0 +1,48 @@
|
|
|
|
|
+### Running 4get and 4play via docker guide
|
|
|
|
|
+
|
|
|
|
|
+This setup will run both 4get and the 4play sidecar
|
|
|
|
|
+
|
|
|
|
|
+# Docker compose
|
|
|
|
|
+
|
|
|
|
|
+```
|
|
|
|
|
+# docker-compose.yaml
|
|
|
|
|
+
|
|
|
|
|
+services:
|
|
|
|
|
+ fourget:
|
|
|
|
|
+ image: luuul/4get:latest
|
|
|
|
|
+ restart: unless-stopped
|
|
|
|
|
+ environment:
|
|
|
|
|
+ - FOURGET_PROTO=http
|
|
|
|
|
+ - FOURGET_SERVER_NAME=4get.ca
|
|
|
|
|
+ - FOURGET_FPLAY_EXTERNAL_ENDPOINT=http://fourplay:3000
|
|
|
|
|
+ - FOURGET_FPLAY_PASSWORD=cnc
|
|
|
|
|
+ - FOURGET_FPLAY_TIMEOUT=30000
|
|
|
|
|
+ - FOURGET_FPLAY_ENABLE_API=true
|
|
|
|
|
+ ports:
|
|
|
|
|
+ - "80:80"
|
|
|
|
|
+ fourplay:
|
|
|
|
|
+ image: luuul/4get-4play:latest
|
|
|
|
|
+ environment:
|
|
|
|
|
+ - FOURPLAY_PORT=3030
|
|
|
|
|
+ - FOURPLAY_PASSWORD=cnc
|
|
|
|
|
+ - FOURPLAY_COMMAND_TIMEOUT=5000
|
|
|
|
|
+ ports:
|
|
|
|
|
+ - "3000:3000"
|
|
|
|
|
+ - "3030:3030"
|
|
|
|
|
+
|
|
|
|
|
+```
|
|
|
|
|
+
|
|
|
|
|
+There is a example docker compose file available [here](../extra/4play/docker-compose.yaml)
|
|
|
|
|
+
|
|
|
|
|
+# Steps
|
|
|
|
|
+
|
|
|
|
|
+1. start the services with
|
|
|
|
|
+
|
|
|
|
|
+```
|
|
|
|
|
+docker compose up -d
|
|
|
|
|
+
|
|
|
|
|
+```
|
|
|
|
|
+
|
|
|
|
|
+2. configure firefox
|
|
|
|
|
+
|
|
|
|
|
+folllow the steps in [configure](./configure.md) for firefox setup
|