Bump backend version for the release

This commit is contained in:
Alexander Polynomdivision 2018-10-07 18:46:18 +02:00
parent 7dc4f92319
commit c25536f09a
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "lateinicusserver", "name": "lateinicusserver",
"version": "0.1.0", "version": "1.0.0",
"description": "The backend server for Lateinicus", "description": "The backend server for Lateinicus",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

View File

@ -4,6 +4,8 @@ services:
db: db:
image: mongo:4.0.2-xenial image: mongo:4.0.2-xenial
command: mongod --config /etc/mongo/mongod.conf command: mongod --config /etc/mongo/mongod.conf
read_only: true
tmpfs: /tmp
volumes: volumes:
- ./server/db/:/etc/mongo/db/:rw - ./server/db/:/etc/mongo/db/:rw
- ./server/mongod.conf:/etc/mongo/mongod.conf:ro - ./server/mongod.conf:/etc/mongo/mongod.conf:ro
@ -14,13 +16,15 @@ services:
ipv4_address: 128.1.0.2 ipv4_address: 128.1.0.2
backend: backend:
image: lateinicus/server image: lateinicus/server:1.0.0
environment: environment:
- LATEINICUS_USER_PW=abc123 - LATEINICUS_USER_PW=abc123
expose: expose:
- "8080" - "8080"
depends_on: depends_on:
- db - db
volumes:
- ./server/de.json:/etc/profanity:ro
networks: networks:
backend: backend:
ipv4_address: 128.1.0.3 ipv4_address: 128.1.0.3