forked from metin2/server
1
0
Fork 0
server/docker/docker-entrypoint.sh

10 lines
251 B
Bash
Raw Permalink Normal View History

#!/bin/sh
# docker-entrypoint.sh
# Generate configuration files based on environment variables
envsubst <"/app/conf/db.conf.tmpl" >"/app/db.conf"
envsubst <"/app/conf/game.conf.tmpl" >"/app/game.conf"
# Run the standard container command.
exec "$@"