Skip to content

Commit 05d3992

Browse files
committed
frontend/docker: use new BRAND variable
1 parent 046f702 commit 05d3992

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docker/docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ services:
6060
- MONITORING_EMAIL=${MONITORING_EMAIL}
6161
- SENDER_EMAIL=${SENDER_EMAIL}
6262
- SENDER_NAME=${SENDER_NAME}
63+
- BRAND=${BRAND}
6364
healthcheck:
6465
test: ["CMD", "curl", "backend:8081"]
6566
interval: 20s
@@ -95,7 +96,7 @@ services:
9596
working_dir: /build
9697
user: "${UID:-1000}:${GID:-1000}"
9798
environment:
98-
- IS_SEB=${IS_SEB}
99+
- BRAND=${BRAND}
99100
volumes:
100101
- ../frontend:/build
101102
- ../wg-webclient:/wg-webclient

frontend/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default defineConfig({
3030
css: {
3131
preprocessorOptions: {
3232
scss: {
33-
additionalData: process.env.IS_SEB === "true" ? `@import "./_seb.scss";` : `@import "./_warp.scss";`,
33+
additionalData: process.env.BRAND === "seb" ? `@import "./_seb.scss";` : `@import "./_warp.scss";`,
3434
quietDeps: true,
3535
silenceDeprecations: [
3636
"mixed-decls",

0 commit comments

Comments
 (0)