- Start:
docker compose up -d
. - Stop:
docker compose stop
- Remove containers:
docker compose down
By default, all traffic is served via Varnish cache. To disable Varnish, modify the .env
file and remove the value from VARNISH_PREFIX
env variable:
# .env
VARNISH_PREFIX=
and restart the project: docker compose restart
.
Modify default.conf.template
file and add something like:
# Project name
location ~ ^/(fi/project|en/project|sv/project|project-assets/) {
proxy_set_header Host ${VARNISH_PREFIX}helfi-project.docker.so;
proxy_pass https://helfi-backend:443;
}
- Change
helfi-project.docker.so
to match your project's domain. fi/project
,en/project
andsv/project
part should match theprefixes
setting defined inhelfi_proxy
module: city-of-helsinki/drupal-module-helfi-proxy#site-prefix.project-assets/
should match theasset_path
configuration defined inhelfi_proxy
module: city-of-helsinki/drupal-module-helfi-proxy#asset-path. The nginx configuration must have a trailing slash.
- https://helfi-proxy.docker.so/en/housing
- https://helfi-proxy.docker.so/fi/asuminen
- https://helfi-proxy.docker.so/sv/boende
- https://helfi-proxy.docker.so/en/grants
- https://helfi-proxy.docker.so/fi/avustukset
- https://helfi-proxy.docker.so/sv/bidrags
- https://helfi-proxy.docker.so/en/administration
- https://helfi-proxy.docker.so/fi/kaupunki-ja-hallinto
- https://helfi-proxy.docker.so/sv/stad-och-forvaltning
- https://helfi-proxy.docker.so/en/childhood-and-education
- https://helfi-proxy.docker.so/fi/kasvatus-ja-koulutus
- https://helfi-proxy.docker.so/sv/fostran-och-utbildning
- https://helfi-proxy.docker.so/en/culture-and-leisure
- https://helfi-proxy.docker.so/fi/kulttuuri-ja-vapaa-aika
- https://helfi-proxy.docker.so/sv/kultur-och-fritid
- https://helfi-proxy.docker.so/en/urban-environment-and-traffic
- https://helfi-proxy.docker.so/fi/kaupunkiymparisto-ja-liikenne
- https://helfi-proxy.docker.so/sv/stadsmiljo-och-trafik
- https://helfi-proxy.docker.so/en/open-jobs
- https://helfi-proxy.docker.so/fi/avoimet-tyopaikat
- https://helfi-proxy.docker.so/sv/lediga-jobb
- https://helfi-proxy.docker.so/en/decision-making
- https://helfi-proxy.docker.so/fi/paatoksenteko-ja-hallinto
- https://helfi-proxy.docker.so/sv/beslutsfattande-och-forvaltning