akaunting / docker

Docker Image for Akaunting
https://github.com/akaunting/akaunting
GNU General Public License v3.0
182 stars 85 forks source link

Unable to launch an app using localhost #98

Closed nithrous closed 11 months ago

nithrous commented 11 months ago

OS: Ubuntu 18.04.6 LTS

Hi, Just installed an akaunting using steps in manual. I did not made any changes in the environments except setting the port to 12600 in docker compose, so it looks like this:

version: '3.7'

services:

  akaunting:
    container_name: akaunting
    image: docker.io/akaunting/akaunting:latest
    build:
      context: .
    ports:
      - 12600:80
    volumes:
      - akaunting-data:/var/www/html
    restart: unless-stopped
    env_file:
      - env/run.env
    environment:
      - AKAUNTING_SETUP
    depends_on:
      - akaunting-db

  akaunting-db:
    container_name: akaunting-db
    image: mariadb
    volumes:
      - akaunting-db:/var/lib/mysql
    restart: unless-stopped
    env_file:
      - env/db.env

volumes:
  akaunting-data:
  akaunting-db:

Calling curl localhost:12600 returns Empty reply from server

How to fix this?

nithrous commented 11 months ago

Seems like I forgot to use

docker-compose down
docker-compose up -d

Not it is possible to get a response