Skip to content
This repository was archived by the owner on May 10, 2022. It is now read-only.
This repository was archived by the owner on May 10, 2022. It is now read-only.

Cannot access both akeneo and akeneo-behat containers at the same time #67

Description

@damien-carcel
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Affected image and tag new one

When running both akeneo and akeneo-behat environments through one compose file (akeneo on localhost:8080 and akeneo-behat on 8081), when a user logs in one environment, he/she is disconnected from the other one.

The problem is observed with both Apache + mod_php and Apache (FCGI) + FPM

Solution

The easiest way to handle this is to use a reverse proxy on the host machine. This should be documented.

Example with Apache, assuming the Docker container is mapped on port 8080 and we want to redirect it on the domain name pim-ce.local:

<VirtualHost *:80>
    ServerName pim-ce.local

    ProxyPreserveHost On
    ProxyPass / http://127.0.0.1:8080/
    ProxyPassReverse / http://127.0.0.1:8080/
</VirtualHost>

We could also use Traefik.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions