Skip to content

Commit 66eb750

Browse files
committed
website-specific settings
1 parent fd190e3 commit 66eb750

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
FROM ghcr.io/uceap/devcontainer-db:v1.0.0 AS importer
22

33
# drupal devcontainers should set these to match
4-
ENV MYSQL_ROOT_PASSWORD="PASSWORD"
4+
ENV MYSQL_ROOT_PASSWORD="secret"
55
ENV MYSQL_DATABASE="drupal"
66
ENV MYSQL_USER="drupal"
7-
ENV MYSQL_PASSWORD="PASSWORD"
7+
ENV MYSQL_PASSWORD="password"
88

99
# these are just for building
10-
ENV TERMINUS_SITE="SITENAME"
10+
ENV TERMINUS_SITE="uceap-website"
1111
ENV TERMINUS_ENV="dev"
1212

1313
ENV DEBIAN_FRONTEND=noninteractive

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
A MariaDB docker image with specific UCEAP Drupal development seed data baked-in.
1+
A MariaDB docker image with the UCEAP Website development seed data baked-in.
2+
23

34
This needs the TERMINUS_TOKEN secret to be set in order to download the database backup from Pantheon.
45

56
When working locally you can set the TERMINUS_TOKEN environment variable and pass it to the build process as a secret like so:
67

78
``` sh
8-
docker build -t myusername/devcontainer-db-generic --secret id=TERMINUS_TOKEN .
9+
docker build -t myusername/devcontainer-db-website --secret id=TERMINUS_TOKEN .
910
```

0 commit comments

Comments
 (0)