Add a volume for uploads

Closes #39
parent 4c34f3bc
......@@ -69,6 +69,8 @@ services:
# - sqlite:///data/sqlite.db (NOT RECOMMENDED)
# - For details see the official sequelize docs: http://docs.sequelizejs.com/en/v3/
- CMD_DB_URL=postgres://hackmd:hackmdpass@database:5432/hackmd
volumes:
- uploads:/codimd/public/uploads
ports:
# Ports that are published to the outside.
# The latter port is the port inside the container. It should always stay on 3000
......@@ -92,3 +94,4 @@ networks:
volumes:
# Volume for PostgreSQL/MySQL database
database:
uploads:
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