Settings Seem To Be Ignored In docker-compose.yml #2952

Closed
opened 2026-04-06 04:19:19 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @yuljk on 5/11/2020

Hi - I've configured my docker-compose.yml as per below:-

# docker-compose.yml
version: '3'

services:
 bitwarden:
  image: bitwardenrs/server
  restart: always
  volumes:
      - /etc/bitwardenrs/bw-data:/data
  environment:
    LOG_FILE: /data/bitwardenrs.log
    LOG_LEVEL: debug
    INVITATIONS_ALLOWED: "true"
    SIGNUPS_ALLOWED: "true"
    SIGNUPS_VERIFY: "true"
    SHOW_PASSWORD_HINT: "true"
    DOMAIN: https://vault.mydomain.com
    ADMIN_TOKEN: KedoCWHw8SLgq8X7p1nNz7lFqex6UwMxi7R6pvOfmAOaxzCalnaJjWjMOz0F1b1p
    SMTP_HOST: someip
    SMTP_FROM: vault.mydomain.com
    SMTP_PORT: 25
    SMTP_SSL: "false"
  ports:
    - 443:80

However, after running docker-compose up -d, Many of my settings are ignored. I am able to create an account without email verification, the admin page is asking me to create a token still etc.

The log file is generated, so that's a start I guess!

Is there some syntax issue I'm not seeing here?

I also tried specifying an .env file and configuring my settings there instead, however it never seems to be read.

Like so ENV_FILE: /etc/bitwardenrs/bw-data/bitwardenrs.env

Any help greatly appreciated!

*Originally created by @yuljk on 5/11/2020* Hi - I've configured my docker-compose.yml as per below:- ``` # docker-compose.yml version: '3' services: bitwarden: image: bitwardenrs/server restart: always volumes: - /etc/bitwardenrs/bw-data:/data environment: LOG_FILE: /data/bitwardenrs.log LOG_LEVEL: debug INVITATIONS_ALLOWED: "true" SIGNUPS_ALLOWED: "true" SIGNUPS_VERIFY: "true" SHOW_PASSWORD_HINT: "true" DOMAIN: https://vault.mydomain.com ADMIN_TOKEN: KedoCWHw8SLgq8X7p1nNz7lFqex6UwMxi7R6pvOfmAOaxzCalnaJjWjMOz0F1b1p SMTP_HOST: someip SMTP_FROM: vault.mydomain.com SMTP_PORT: 25 SMTP_SSL: "false" ports: - 443:80 ``` However, after running docker-compose up -d, Many of my settings are ignored. I am able to create an account without email verification, the admin page is asking me to create a token still etc. The log file is generated, so that's a start I guess! Is there some syntax issue I'm not seeing here? I also tried specifying an .env file and configuring my settings there instead, however it never seems to be read. Like so ENV_FILE: /etc/bitwardenrs/bw-data/bitwardenrs.env Any help greatly appreciated!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#2952