-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
47 lines (45 loc) · 1.79 KB
/
docker-compose.yml
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
services:
app:
build:
context: .
args:
IMAGE: ghcr.io/nationalarchives/tna-python
IMAGE_TAG: preview
environment:
- ENVIRONMENT=develop
- ENVIRONMENT_NAME=develop
- CONFIG=config.Develop
- SECRET_KEY=abc123
- NPM_DEVELOP_COMMAND=dev
- WAGTAIL_API_URL=http://host.docker.internal:8000/api/v2
- COOKIE_DOMAIN=localhost
- CSP_IMG_SRC='self',localhost:65535,localhost:8000,localhost:65529,*.google-analytics.com,*.gstatic.com,*.nationalarchives.gov.uk,*.platformsh.site,i.ytimg.com,img.youtube.com,maps.googleapis.com
- CSP_SCRIPT_SRC_ELEM='self',*.youtube.com,localhost:65529
- CSP_STYLE_SRC='self',localhost:65529,fonts.googleapis.com,p.typekit.net,use.typekit.net,'unsafe-inline'
- CSP_FONT_SRC='self',fonts.gstatic.com,use.typekit.net
- CSP_CONNECT_SRC='self',localhost:65529,*.google-analytics.com,*.analytics.google.com,noembed.com
- CSP_MEDIA_SRC='self',localhost:8000
- CSP_WORKER_SRC='self',blob:,localhost:65535
- CSP_FRAME_SRC='self',*.youtube-nocookie.com,https://www.openstreetmap.org
- CSP_FEATURE_PICTURE_IN_PICTURE='self',https://www.youtube-nocookie.com
- FRAME_DOMAIN_ALLOW=localhost:8000
- FEATURE_PHASE_BANNER=False
- FEATURE_LOGO_ADORNMENTS_CSS=http://localhost:65529/enrichment/css/logo-adornments.css
- FEATURE_LOGO_ADORNMENTS_JS=http://localhost:65529/enrichment/js/logo-adornments.js
- WAGTAILAPI_LIMIT_MAX=1000
# - GA4_ID=GTM-KX8ZWVZG
ports:
- 65535:8080
volumes:
- ./:/app
dev:
image: ghcr.io/nationalarchives/tna-python-dev:preview
volumes:
- ./:/app
# - ../ds-wagtail:/app/tmp/ds-wagtail
docs:
image: squidfunk/mkdocs-material
volumes:
- .:/docs
ports:
- 65534:8000