Skip to content

Commit

Permalink
Forward Matomo identifiers to built Docker images
Browse files Browse the repository at this point in the history
refs #470

refs #278
  • Loading branch information
Thomas Parisot committed Dec 8, 2021
1 parent bff305a commit 92a8aa7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ services:
build:
context: ./front
dockerfile: dockerfile
args:
- SNOWPACK_MATOMO_URL
- SNOWPACK_MATOMO_SITE_ID
container_name: "front-stylo"
env_file:
- ./stylo.env
Expand Down
3 changes: 3 additions & 0 deletions infrastructure/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@
docker_compose:
project_src: ~/stylo
build: yes
environment:
SNOWPACK_MATOMO_URL: "{{ matomo_url }}"
SNOWPACK_MATOMO_SITE_ID: "{{ matomo_site_id }}"

handlers:
- name: reload nginx
Expand Down

0 comments on commit 92a8aa7

Please sign in to comment.