mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-12 04:23:04 +02:00
fix port
This commit is contained in:
parent
85dafb9867
commit
516d25aad7
@ -1,5 +1,7 @@
|
||||
MantisBT is an open source issue tracker that provides a delicate balance between simplicity and power.
|
||||
|
||||
WARNING: This is still a work in progress, a successful connection has not been made.
|
||||
|
||||
|
||||
## docker-compose.yml
|
||||
|
||||
@ -15,8 +17,7 @@ mantisbt:
|
||||
db:
|
||||
image: mariadb
|
||||
environment:
|
||||
- MYSQL_USERNAME=root
|
||||
- MYSQL_PASSWORD=root
|
||||
- MYSQL_ROOT_PASSWORD=root
|
||||
- MYSQL_DATABASE=bugtracker
|
||||
restart: always
|
||||
```
|
||||
|
@ -18,8 +18,6 @@ ENV RUN_MODE server
|
||||
ENV LISTEN_ADDR 0.0.0.0
|
||||
ENV LISTEN_PORT 4911
|
||||
|
||||
EXPOSE $LISTEN_PORT
|
||||
|
||||
CMD obfsproxy --log-min-severity=$LOG_MIN_SEVERITY --data-dir=$DATA_DIR \
|
||||
scramblesuit --password=$PASSWORD --dest=$DEST_ADDR:$DEST_PORT \
|
||||
$RUN_MODE $LISTEN_ADDR:$LISTEN_PORT
|
||||
|
@ -85,3 +85,5 @@ You can generate one via this command:
|
||||
```
|
||||
python -c 'import base64, os; print base64.b32encode(os.urandom(20))'
|
||||
```
|
||||
|
||||
Note: There's no ports exposed in Dockerfile. You need to expose port explicitly.
|
||||
|
Loading…
Reference in New Issue
Block a user