read values from env and add Dockerfile
This commit is contained in:
@@ -150,3 +150,7 @@ services:
|
||||
##### Tor
|
||||
|
||||
You can route incoming and outgoing requests through tor by following [docker tor documentation](./docker_tor.md)
|
||||
|
||||
##### 4play
|
||||
|
||||
You can run the 4play sidecar by following the [docker 4play guide](./docker_4play.md)
|
||||
|
||||
48
docs/docker_4play.md
Normal file
48
docs/docker_4play.md
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user