Skip to content

Commit ef74ef1

Browse files
spookyuserEpicWink
andauthored
Add simple docker compose file (#13)
* Add simple docker compose file :) * Update readme with docker compose info * Specify image tag * Drop deprecated version * Separate Compose instructions * Convert to 2-space indentation Co-authored-by: Laurie O <[email protected]>
1 parent 32ca462 commit ef74ef1

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ docker run -p 5000:5000 epicwink/proxpi
3434
Without arguments, runs with 2 threads. If passing arguments, make sure to bind to an
3535
exported address (or all with `0.0.0.0`) on port 5000 (ie `--bind 0.0.0.0:5000`).
3636

37+
##### Compose
38+
Alternatively, use [Docker Compose](https://docs.docker.com/compose/)
39+
```bash
40+
docker compose up
41+
```
42+
3743
#### Local
3844
```bash
3945
FLASK_APP=proxpi.server flask run

docker-compose.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
services:
2+
proxpi:
3+
restart: unless-stopped
4+
ports:
5+
- '5000:5000'
6+
image: epicwink/proxpi:latest

0 commit comments

Comments
 (0)