allow docker compose container to restart on host reboot

This commit is contained in:
a 2023-02-02 03:32:13 -06:00
parent eb6ed9e784
commit bb26a223b1

View file

@ -2,6 +2,7 @@ version: "3.9"
services: services:
app: app:
build: . build: .
restart: unless-stopped
environment: environment:
DISCORD_BOT_TOKEN: $DISCORD_BOT_TOKEN DISCORD_BOT_TOKEN: $DISCORD_BOT_TOKEN
DISCORD_GUILD_ID: $DISCORD_GUILD_ID DISCORD_GUILD_ID: $DISCORD_GUILD_ID