wallabag / docker

Official docker-composer for wallabag.
570 stars 150 forks source link

Wallabag on Docker (OSX Host) isn't working #312

Open Medic-2016 opened 1 year ago

Medic-2016 commented 1 year ago

I'm new at docker and I am trying to get my own instance of Wallabag running. I used Docker Compose to deploy the container but the web GUI is not coming up. Any help would be appreciated! This is my log so far: 2022-12-21 02:53:40 Starting provisioner... 2022-12-21 02:54:20 Provisioner finished. 2022-12-21 02:54:40 127.0.0.1 - - [21/Dec/2022:08:54:40 +0000] "GET / HTTP/1.1" 500 507 "-" "Wget" 2022-12-21 02:55:41 127.0.0.1 - - [21/Dec/2022:08:55:41 +0000] "GET / HTTP/1.1" 500 507 "-" "Wget" 2022-12-21 02:56:41 127.0.0.1 - - [21/Dec/2022:08:56:41 +0000] "GET / HTTP/1.1" 500 507 "-" "Wget" 2022-12-21 02:57:42 127.0.0.1 - - [21/Dec/2022:08:57:42 +0000] "GET / HTTP/1.1" 500 507 "-" "Wget" 2022-12-21 02:58:42 127.0.0.1 - - [21/Dec/2022:08:58:42 +0000] "GET / HTTP/1.1" 500 507 "-" "Wget" 2022-12-21 02:59:42 127.0.0.1 - - [21/Dec/2022:08:59:42 +0000] "GET / HTTP/1.1" 500 507 "-" "Wget" 2022-12-21 03:00:43 127.0.0.1 - - [21/Dec/2022:09:00:43 +0000] "GET / HTTP/1.1" 500 507 "-" "Wget" 2022-12-21 03:01:43 127.0.0.1 - - [21/Dec/2022:09:01:43 +0000] "GET / HTTP/1.1" 500 507 "-" "Wget" 2022-12-21 03:02:44 127.0.0.1 - - [21/Dec/2022:09:02:44 +0000] "GET / HTTP/1.1" 500 507 "-" "Wget" 2022-12-21 02:53:43 [WARNING]: Found both group and host with same name: localhost 2022-12-21 02:53:47 [WARNING]: Platform linux on host localhost is using the discovered Python 2022-12-21 02:53:47 interpreter at /usr/bin/python3.9, but future installation of another Python 2022-12-21 02:53:47 interpreter could change the meaning of that path. See 2022-12-21 02:53:47 https://docs.ansible.com/ansible- 2022-12-21 02:53:47 core/2.11/reference_appendices/interpreter_discovery.html for more information. 2022-12-21 03:03:44 127.0.0.1 - - [21/Dec/2022:09:03:44 +0000] "GET / HTTP/1.1" 500 507 "-" "Wget" 2022-12-21 03:04:44 127.0.0.1 - - [21/Dec/2022:09:04:44 +0000] "GET / HTTP/1.1" 500 507 "-" "Wget" 2022-12-21 03:05:45 127.0.0.1 - - [21/Dec/2022:09:05:45 +0000] "GET / HTTP/1.1" 500 507 "-" "Wget" 2022-12-21 03:06:45 127.0.0.1 - - [21/Dec/2022:09:06:45 +0000] "GET / HTTP/1.1" 500 507 "-" "Wget"

Medic-2016 commented 1 year ago

This is my compose file:

version: '3'
services:
  wallabag:
    image: wallabag/wallabag
    environment:
      - MYSQL_ROOT_PASSWORD=wallaroot
      - SYMFONY__ENV__DATABASE_DRIVER=pdo_mysql
      - SYMFONY__ENV__DATABASE_HOST=db
      - SYMFONY__ENV__DATABASE_PORT=3306
      - SYMFONY__ENV__DATABASE_NAME=wallabag
      - SYMFONY__ENV__DATABASE_USER=wallabag
      - SYMFONY__ENV__DATABASE_PASSWORD=wallapass
      - SYMFONY__ENV__DATABASE_CHARSET=utf8mb4
      - SYMFONY__ENV__DATABASE_TABLE_PREFIX="wallabag_"
      - SYMFONY__ENV__MAILER_HOST=127.0.0.1
      - SYMFONY__ENV__MAILER_USER=~
      - SYMFONY__ENV__MAILER_PASSWORD=~
      - SYMFONY__ENV__FROM_EMAIL=wallabag@example.com
      - SYMFONY__ENV__DOMAIN_NAME=localhost
      - SYMFONY__ENV__SERVER_NAME="Your wallabag instance"
    ports:
      - "89:88"
    volumes:
      - /Users:/Users
    healthcheck:
      test: ["CMD", "wget" ,"--no-verbose", "--tries=1", "--spider", "http://localhost"]
      interval: 1m
      timeout: 3s
    depends_on:
      - db
      - redis
  db:
    image: mariadb
    environment:
      - MYSQL_ROOT_PASSWORD=wallaroot
    volumes:
      - /Users:/Users
    healthcheck:
      test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
      interval: 20s
      timeout: 3s
  redis:
    image: redis:alpine
    healthcheck:
      test: ["CMD", "redis-cli", "ping"]
      interval: 20s
      timeout: 3s