diff --git a/.docker-compose.yml b/.docker-compose.yml new file mode 100644 index 0000000..ac80c4b --- /dev/null +++ b/.docker-compose.yml @@ -0,0 +1,5 @@ +services: + cms: + image: alliances-cms + ports: + - "1111:1111" diff --git a/.gitignore b/.gitignore index 605a6d2..0fc3bfc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ node_modules .env -.env.* public -.manifest +.manifest \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..6f9882f --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,14 @@ +services: + cms: + build: . + image: alliances-cms + ports: + - "1111:1111" + environment: + - NODE_ENV=production + - TOKEN_SECRET_KEY=${TOKEN_SECRET_KEY} + - DB_PATH=${DB_PATH} + env_file: .env.production + volumes: + - ./.manifest:/app/.manifest +