1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-20 13:58:42 +00:00
This commit is contained in:
kev 2015-05-12 16:49:35 +08:00
parent 85dafb9867
commit 516d25aad7
3 changed files with 5 additions and 4 deletions

@ -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.