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