-
-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conform the use of docker images by implementing the use of environme…
…nt variables for all options available to Docker images and start node on docker run automatically.
- Loading branch information
1 parent
b4e74c2
commit 750f543
Showing
6 changed files
with
419 additions
and
307 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
version: "3" | ||
services: | ||
node: | ||
image: "node:lts-alpine" | ||
user: "node" | ||
working_dir: /home/node/app | ||
volumes: | ||
- ./:/home/node/app | ||
command: ash -c "npm i && npm run start:prod" | ||
pairdrop: | ||
image: "lscr.io/linuxserver/pairdrop:latest" | ||
container_name: pairdrop | ||
restart: unless-stopped | ||
environment: | ||
- PUID=1000 # UID to run the application as | ||
- PGID=1000 # GID to run the application as | ||
- WS_FALLBACK=false # Set to true to enable websocket fallback if the peer to peer WebRTC connection is not available to the client. | ||
- RATE_LIMIT=false # Set to true to limit clients to 1000 requests per 5 min. | ||
- RTC_CONFIG=false # Set to the path of a file that specifies the STUN/TURN servers. | ||
- DEBUG_MODE=false # Set to true to debug container and peer connections. | ||
- TZ=Etc/UTC # Time Zone | ||
ports: | ||
- "3000:3000" | ||
- "127.0.0.1:3000:3000" # Web UI. Change the port number before the last colon e.g. `127.0.0.1:9000:3000` |
Oops, something went wrong.