Fix docker-compose config for addons-frontend (#16281)

This commit is contained in:
William Durand 2021-01-08 15:18:12 +01:00 коммит произвёл GitHub
Родитель 75a256eded
Коммит 1b72db9fa6
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 11 добавлений и 10 удалений

Просмотреть файл

@ -95,15 +95,16 @@ services:
addons-frontend:
<<: *env
environment:
- API_HOST=http://olympia.test
- PROXY_API_HOST=http://olympia.test
- HOSTNAME=uitests
- WEBPACK_SERVER_HOST=olympia.test
- CSP=false
- FXA_CONFIG=default
image: mozilla/addons-frontend:latest
environment:
# We change the proxy port (which is the main entrypoint) as well as the
# webpack port to avoid a conflict in case someone runs both addons-server
# and addons-frontend locally, with the frontend configured to access
# addons-server locally.
- PROXY_PORT=7010
- WEBPACK_SERVER_PORT=7011
ports:
- "3000:3000"
- "3001:3001"
command: yarn amo
# We need to expose this port so that statics can be fetched (they are
# exposed using webpack and not by the node app server).
- 7011:7011
command: yarn amo:olympia