From 0405da29391bdbf1c63c0d1bec0ef329fae1e2c2 Mon Sep 17 00:00:00 2001 From: meliurwen Date: Wed, 31 Mar 2021 03:38:18 +0200 Subject: [PATCH] Some corrections --- .gitignore | 1 + docker-compose.yml | 12 ++++++------ nginx.env.example | 2 +- nginx/Dockerfile | 2 +- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 540d660..a4ac09e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *.env bibliogram/ +nitter/ config/ diff --git a/docker-compose.yml b/docker-compose.yml index 707a63d..da54087 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,7 +15,7 @@ services: - nginx.env networks: - default - - bibliogram + - socials bibliogram: build: @@ -26,9 +26,9 @@ services: - "10407" volumes: - db:/app/db - - .config/bibliogram.config.js:/app/config.js + - ./config/bibliogram.config.js:/app/config.js networks: - - bibliogram + - socials nitter: build: @@ -38,9 +38,9 @@ services: expose: - "8080" volumes: - - .config/nitter.conf:/src/nitter.conf + - ./config/nitter.conf:/src/nitter.conf networks: - - bibliogram + - socials volumes: db: @@ -49,4 +49,4 @@ networks: default: external: name: ${NETWORK:-webservices} - bibliogram: + socials: diff --git a/nginx.env.example b/nginx.env.example index 3239033..ac7cd57 100644 --- a/nginx.env.example +++ b/nginx.env.example @@ -6,7 +6,7 @@ BG_HOSTNAME= BG_ADDR=bibliogram BG_PORT=10407 -BG_HOSTNAME= +NI_HOSTNAME= NI_ADDR=nitter NI_PORT=8080 diff --git a/nginx/Dockerfile b/nginx/Dockerfile index d1254fb..99ca5fa 100644 --- a/nginx/Dockerfile +++ b/nginx/Dockerfile @@ -10,7 +10,7 @@ COPY root/ / ENV BG_HOSTNAME= ENV BG_ADDR=bibliogram ENV BG_PORT=10407 -ENV BG_HOSTNAME= +ENV NI_HOSTNAME= ENV NI_ADDR=nitter ENV NI_PORT=8080 ENV NGINX_LISTEN_PORT=80