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