Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

feat(service): update terraria image and environment variables (#11322)

Ahmed Kamaled591aa22130
diff --git a/templates/compose/terraria-server.yaml b/templates/compose/terraria-server.yaml
index 4718d3494f..95db93a663 100644
--- a/templates/compose/terraria-server.yaml
+++ b/templates/compose/terraria-server.yaml
@@ -7,20 +7,20 @@
services:
terraria-server:
- image: 'hexlo/terraria-server-docker:1.4.4.9'
+ image: hexlo/terraria-server-docker:1.4.5.0
stdin_open: true
tty: true
ports:
- - '7777:7777'
+ - 7777:7777
volumes:
- - 'terraria-server:/root/.local/share/Terraria/Worlds'
+ - terraria-server:/root/.local/share/Terraria/Worlds
environment:
- - 'WORLD=${WORLD:-/root/.local/share/Terraria/Worlds/world1.wld}'
- - 'AUTOCREATE=${AUTOCREATE:-2}'
- - 'WORLDNAME=${WORLDNAME:-world1}'
- - 'DIFFICULTY=${DIFFICULTY:-1}'
- - 'MAXPLAYERS=${MAXPLAYERS:-8}'
- - 'PASSWORD=${PASSWORD:-mypassword}'
- - 'MOTD=${MOTD:-Welcome to the server!}'
- - 'LANGUAGE=${LANGUAGE:-en/US}'
- - 'SECURE=${SECURE:-1}'
+ - worldpath=${WORLDPATH:-/root/.local/share/Terraria/Worlds}
+ - autocreate=${AUTOCREATE:-2}
+ - world=${WORLD:-world1.wld}
+ - difficulty=${DIFFICULTY:-1}
+ - maxplayers=${MAXPLAYERS:-8}
+ - password=${SERVICE_PASSWORD_TERRARIA}
+ - motd=${MOTD:-Welcome to the server!}
+ - language=${LANGUAGE:-en/US}
+ - secure=${SECURE:-1}