Skip to content

how to make data volume persistent? #2

Description

@kamilmirza

as in official documentation, I am adding host folders to following:

/var/lib/tomcat
/var/lib/postgresql
/var/log/tomcat
/var/log/postgresql

when I try to add my host folders, the container does not build WAR file and it stay there
here's the docker log: docker.log

but when I run the docker command WITHOUT volumes, it works fine

here's my docker command:
docker run -it \
--name axelor \
-p 8080:80 \
-v /axelor/log/tomcat:/var/log/tomcat \
-v /axelor/log/postgresql/:/var/log/postgresql \
-v /axelor/lib/tomcat:/var/lib/tomcat \
-v /axelor/lib/postgresql/:/var/lib/postgresql \
axelor/aio-erp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions