From c25536f09a8196e528ab894f6e2768fadf07157a Mon Sep 17 00:00:00 2001 From: Alexander Polynomdivision Date: Sun, 7 Oct 2018 18:46:18 +0200 Subject: [PATCH] Bump backend version for the release --- backend/package.json | 2 +- compose.yml | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/backend/package.json b/backend/package.json index e367158..d6a113c 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "lateinicusserver", - "version": "0.1.0", + "version": "1.0.0", "description": "The backend server for Lateinicus", "main": "index.js", "scripts": { diff --git a/compose.yml b/compose.yml index 3171cbc..4ab937d 100644 --- a/compose.yml +++ b/compose.yml @@ -4,6 +4,8 @@ services: db: image: mongo:4.0.2-xenial command: mongod --config /etc/mongo/mongod.conf + read_only: true + tmpfs: /tmp volumes: - ./server/db/:/etc/mongo/db/:rw - ./server/mongod.conf:/etc/mongo/mongod.conf:ro @@ -14,13 +16,15 @@ services: ipv4_address: 128.1.0.2 backend: - image: lateinicus/server + image: lateinicus/server:1.0.0 environment: - LATEINICUS_USER_PW=abc123 expose: - "8080" depends_on: - db + volumes: + - ./server/de.json:/etc/profanity:ro networks: backend: ipv4_address: 128.1.0.3