version: '3' services: discord-rcon: image: ghcr.io/anatawa12/discord-rcon container_name: discord-rcon restart: always environment: # the discord bot token DISCORD_TOKEN: "" # the discord command prefix. # if the value is "!", "!say hello" executes "say hello" in console # If the value is empty, all messages posted to the channel by a person who has # the role will be executed. DISCORD_PREFIX: "" # the control command prefix. #DISCORD_COMMAND: "" # The id of role the users this bot can be used. # if not specified, all users can use this bot. it's dangerous #DISCORD_ROLE: # The id of channel this bot will listen. # if not specified, all channels on guild/server the bot connected will be watched. #DISCORD_CHANNEL: # The kind of your game server. # This enables the some quirks for game servers. # currently supports Minecraft and Factorio. # If your game is not one of games above, you don't need to specify server_kind #SERVER_KIND: "" # The section about rcon connection # the address of rcon server. RCON_ADDRESS: ":" # the password of rcon server. RCON_PASSWORD: ""