mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-07-18 20:59:42 +02:00
add docker-compose.yml for production use
This commit is contained in:
parent
90c68d6077
commit
2e11b0049b
2 changed files with 24 additions and 14 deletions
22
docker-compose.dev.yml
Normal file
22
docker-compose.dev.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
version: "3.2"
|
||||
services:
|
||||
docs:
|
||||
build:
|
||||
dockerfile: docker/Dockerfile.prod
|
||||
context: .
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- ./uploads:/usr/src/app/uploads
|
||||
- ./db:/usr/src/app/db
|
||||
- ./docs-config.yaml:/usr/src/app/docs-config.yaml
|
||||
- ./docs-config.local.yaml:/usr/src/app/docs-config.local.yaml
|
||||
mongodb:
|
||||
image: mongo:6.0.1
|
||||
ports:
|
||||
- "27017:27017"
|
||||
volumes:
|
||||
- mongodb_data:/data/db
|
||||
|
||||
volumes:
|
||||
mongodb_data:
|
Loading…
Add table
Add a link
Reference in a new issue