diff options
-rwxr-xr-x | Dockerfile | 4 | ||||
-rwxr-xr-x | docker-compose.yml | 45 |
2 files changed, 2 insertions, 47 deletions
@@ -1,5 +1,5 @@ -FROM ubuntu:latest -MAINTAINER Eden Attenborough "eda@e.email" +FROM ubuntu:22.04 +MAINTAINER Eden Attenborough "eden.attenborough@outlook.com" ENV TZ=Europe/London RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN apt-get update -y diff --git a/docker-compose.yml b/docker-compose.yml index 50e50e2..47c5d5f 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -37,51 +37,6 @@ services: - mariadb:mysql restart: unless-stopped - nitter: - build: - context: ./nitter/nitter - dockerfile: Dockerfile - image: reg.reaweb.uk/nitter:latest - ports: - - "127.0.0.1:7777:7777" # Replace with "8080:8080" if you don't use a reverse proxy - volumes: - - ./nitter/nitter.conf:/src/nitter.conf:Z,ro - - ./nitter/guest_accounts.json:/src/guest_accounts.json:Z,ro - depends_on: - - nitter-redis - healthcheck: - test: wget -nv --tries=1 --spider http://127.0.0.1:8080/Jack/status/20 || exit 1 - interval: 30s - timeout: 5s - retries: 2 - networks: - - edaweb-net - user: "998:998" - read_only: true - security_opt: - - no-new-privileges:true - cap_drop: - - ALL - - nitter-redis: - image: redis:6-alpine - command: redis-server --save 60 1 --loglevel warning - volumes: - - nitter-redis:/data - healthcheck: - test: redis-cli ping - interval: 30s - timeout: 5s - retries: 2 - networks: - - edaweb-net - user: "999:1000" - read_only: true - security_opt: - - no-new-privileges:true - cap_drop: - - ALL - networks: edaweb-net: external: |