Skip to content

Web RCON Password ENV variable #118

@Mr-Protocol

Description

@Mr-Protocol

Describe the bug
I have set the env variable to change the RCON password but when the docker container creates, it still uses the default.

To Reproduce
Steps to reproduce the behavior:
I use portainer to deploy a stack with this docker-compose

version: '3'
services:
rust-server:
image: didstopia/rust-server
container_name: rust-server
ports:
- "28015:28015"
- "28015:28015/udp"
- "28016:28016"
- "8080:8080"
volumes:
- /serverfiles/rustserver:/steamcmd/rust
mem_limit: 16g
restart: unless-stopped

Set the env variables in portainer
RUST_RCON_WEB=1
RUST_RCON_PASSWORD=nondefault

Expected behavior
Deployed stack should use the password provided for RCON

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: Ubuntu
  • Docker:

Additional context
Seems like other env variables don't take like server name, description, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions