AndyLinux787

docker-compose

Mar 20th, 2025
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. Services:
  2. playit.gg:
  3. container_name: Playit.gg
  4. image: ghcr.io/playit-cloud/playit-agent:0.15
  5. network_mode: host
  6. environment:
  7. -SECRET_KEY=REPLACETHISWITHKEY
  8. terraria:
  9. image: ryshe/terraria
  10. pull_policy: always
  11. container_name: terraria-server
  12. ports:
  13. - "7777:7777"
  14. environment:
  15. - WORLD_NAME=MyTerrariaWorld
  16. - WORLD_SIZE=2
  17. - DIFFICULTY=1
  18. - MAX_PLAYERS=8
  19. - PASSWORD=your_password_here
  20. volumes:
  21. - ./world:/root/.local/share/Terraria/Worlds
  22. restart: unless-stopped
Advertisement
Add Comment
Please, Sign In to add comment