Skip to content

Commit

Permalink
Migrate to salsa hosting (#65)
Browse files Browse the repository at this point in the history
* Lagoonizing the project for Salsa hosting
  • Loading branch information
MarkCalvert authored Jun 25, 2024
1 parent ce10a80 commit 1af2252
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
14 changes: 14 additions & 0 deletions .lagoon.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
docker-compose-yaml: docker-compose.yml

project: openfisca-aotearoa

tasks: {}

environments:
main:
routes:
- openfisca:
- "rac.g0v.nz":
tls-acme: false
insecure: Redirect
hstsEnabled: true
7 changes: 3 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ services:
openfisca:
build:
context: .
dockerfile: Dockerfile
restart: always
labels:
- traefik.http.routers.openfisca.rule=Host(`rac.g0v.nz`)
- traefik.http.routers.openfisca.tls=true
- traefik.http.routers.openfisca.tls.certresolver=lets-encrypt
- traefik.port=5000
lagoon.type: basic
lagoon.service.port: 5000
networks:
- web
volumes:
Expand Down

0 comments on commit 1af2252

Please sign in to comment.