1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-05 13:35:24 +02:00

add docker config and CI config (#109)

This commit is contained in:
Nikita Melnikov 2020-11-23 14:09:33 +03:00 committed by GitHub
parent 417ab0688b
commit e27bc52388
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 48 additions and 0 deletions

13
docker-compose.yml Normal file
View file

@ -0,0 +1,13 @@
version: "3.2"
services:
docs:
build:
dockerfile: docker/Dockerfile.prod
context: .
ports:
- 5000:3000
volumes:
- ./.codexdocsrc:/usr/src/app/.codexdocsrc:ro
- ./config/production.json:/usr/src/app/config/production.json:ro
- ./public/uploads:/usr/src/app/public/uploads
- ./.db:/usr/src/app/.db