-
Notifications
You must be signed in to change notification settings - Fork 14
/
.env.sample.sh
executable file
·108 lines (89 loc) · 3.59 KB
/
.env.sample.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
#!/bin/bash
# Environment variables
# Backend
export AUTH_KEY=***FILL_THIS***
export ADMIN_PASSWORD=***FILL_THIS***
# Emailer
export SMTP_HOST=***FILL_THIS***
export SMTP_USER=***FILL_THIS***
export SMTP_PASS=***FILL_THIS***
export SMTP_FROM=lipas.dev@gmail.com
# Data migrations
export ICE_STADIUMS_CSV_URL="https://www.dropbox.com/s/1693i83sn5dz5zy/2018-07-23-jaahalli-utf-8.csv?dl=1"
export SWIMMING_POOLS_CSV_URL="https://www.dropbox.com/s/euut7y7tmdk86kq/2018-07-24-uimahalli-utf-8.csv?dl=1"
# Postgres
export DB_NAME=lipas
export DB_HOST=postgres
export DB_PORT=5432
export DB_SUPERUSER=postgres
export DB_SUPERUSER_PASSWORD=***FILL_THIS***
export DB_USER=lipas
export DB_PASSWORD=***FILL_THIS***
# Search
export SEARCH_HOST=http://127.0.0.1:9200
export SEARCH_USER=***FILL_THIS***
export SEARCH_PASS=***FILL_THIS***
export ES_JAVA_OPTS="-Xms1g -Xmx1g"
# Mapproxy
MML_USERNAME=***FILL_THIS***
MML_PASSWORD=***FILL_THIS***
export MML_AUTH=`echo -n $MML_USERNAME:$MML_PASSWORD | base64`
# Integrations
export OLD_LIPAS_URL=http://lipas-kehitys.cc.jyu.fi
export OLD_LIPAS_USER=***FILL_THIS***
export OLD_LIPAS_PASS=***FILL_THIS***
# Accessibility register
export ACCESSIBILITY_REGISTER_BASE_URL=https://asiointi.hel.fi/kapaesteettomyys_testi
export ACCESSIBILITY_REGISTER_SYSTEM_ID=***FILL_THIS***
export ACCESSIBILITY_REGISTER_SECRET_KEY=***FILL_THIS***
# Legacy API
export LEGACY_DB_URL="//postgres:5432/lipas-legacy"
export LEGACY_DB_USER=lipas
export LEGACY_DB_PASS=***FILL_THIS***
# Geoserver
export GEOSERVER_ADMIN_USER=admin
export GEOSERVER_ADMIN_PASSWORD=***FILL_THIS***
export GEOSERVER_INITIAL_MEMORY=1G
export GEOSERVER_MAX_MEMORY=2G
# OSRM
# export OSRM_CAR_URL="http://localhost:5001/table/v1/car/"
# export OSRM_BICYCLE_URL="http://localhost:5002/table/v1/bicycle/"
# export OSRM_FOOT_URL="http://localhost:5003/table/v1/foot/"
export OSRM_CAR_URL="http://osrm-car:5000/table/v1/car/"
export OSRM_BICYCLE_URL="http://osrm-bicycle:5000/table/v1/bicycle/"
export OSRM_FOOT_URL="http://osrm-foot:5000/table/v1/foot/"
# Mailchimp
export MAILCHIMP_CAMPAIGN_FOLDER_ID=58eea4f241 # testit
export MAILCHIMP_CAMPAIGN_FOLDER_ID=11df5ce8ec # uutiskirjeet
export MAILCHIMP_LIST_ID=a70cd3d18a
export MAILCHIMP_NEWSLETTER_INTEREST_ID=93a8beea4a
export MAILCHIMP_API_URL=https://us20.api.mailchimp.com/3.0
export MAILCHIMP_API_KEY=***FILL_THIS***
# Digitransit
export DIGITRANSIT_SUBSCRIPTION_KEY=***FILL_THIS***
# MML API
export MML_COVERAGE_URL="https://avoin-karttakuva.maanmittauslaitos.fi/ortokuvat-ja-korkeusmallit/wcs/v2"
export MML_API_KEY=***FILL_THIS***
# AWS
export AWS_ACCESS_KEY_ID=***FILL_THIS***
export AWS_SECRET_ACCESS_KEY=***FILL_THIS***
export AWS_REGION=eu-north-1
export AWS_S3_BUCKET_PREFIX=example
# UTP
export UTP_CMS_API_URL="https://luontoon-fi-cms-test.druid.fi/fi/jsonapi"
export UTP_CMS_API_USER="lipas-developer"
export UTP_CMS_API_PASS=***FILL_THIS***
export UTP_WEBHOOK_SOURCE_ENV="dev"
export UTP_WEBHOOK_URL="https://api-dev.metsa.fi/luontoon-webhook/update/"
export UTP_WEBHOOK_SUBSCRIPTION_KEY=***FILL_THIS***
export UTP_WEBHOOK_TOKEN_CLIENT_ID="36e1fff5-f466-4e42-a10d-1467d8a68109"
export UTP_WEBHOOK_TOKEN_CLIENT_SECRET=***FILL_THIS***
export UTP_WEBHOOK_TOKEN_URL="https://login.microsoftonline.com/bdb27328-5c0b-4132-9b09-c24522571ad9/oauth2/token"
# PTV
export PTV_API_URL="https://api.palvelutietovaranto.trn.suomi.fi/api"
export PTV_TOKEN_URL="https://palvelutietovaranto.trn.suomi.fi/api/auth/api-login"
# Test env requires API credentials per org-id, so handled in the code
# export PTV_API_USERNAME=***FILL_THIS***
# export PTV_API_PASSWORD=***FILL_THIS***
# Open AI
export OPEN_AI_API_KEY=***FILL_THIS***