Commit 52f344aa authored by Luís de Sousa's avatar Luís de Sousa
Browse files

Renamed secret.py to secret.py.dist and left reference in Dockerfile

parent 8ce4137d
......@@ -10,12 +10,16 @@ RUN pip install -r /tmp/requirements.txt
# Expose port 80
EXPOSE 80
################### Usage #####################
# Build it
# docker build -t ldesousa/wsm.rest .
# Run command
# docker run -dit -v /var/www/wsm.rest:/var/www/wsm.rest -v /data/monoliths:/data/monoliths --name wsm.rest -p 8081:80 ldesousa/wsm.rest
# Set the correct database connection in common/secret.py
# Attach to the container and run the startup script
# docker attach wsm.rest
# sh /var/www/wsm.rest/configs/startup.sh
......
"""Password of database"""
"""This is just an example, change to the correct values and rename the file to
secret.py"""
DB={"host":"85.214.241.121","database":"isric", "user":"isis", "password":"@#%951GHKaef"}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment