add terraria server
This commit is contained in:
parent
1fd8577211
commit
7a8ab30418
1
.gitignore
vendored
1
.gitignore
vendored
@ -7,6 +7,7 @@
|
||||
/notes/standardfile.db
|
||||
/notes/standardfile.yml
|
||||
/recipes/mealie
|
||||
/terraria/config
|
||||
/traefik/letsencrypt
|
||||
/traefik/.env
|
||||
/wizz/app/venv
|
||||
|
@ -10,7 +10,7 @@ fi
|
||||
|
||||
apt update;
|
||||
apt upgrade;
|
||||
apt install -y docker docker-compose python3 curl nmap emacs-nox unzip zip htop postfix;
|
||||
apt install -y docker docker-compose python3 curl nmap emacs-nox unzip zip htop postfix tree;
|
||||
curl https://rclone.org/install.sh | sudo bash
|
||||
sudo mkdir -p /etc/apt/keyrings
|
||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
||||
|
27
terraria/docker-compose.yml
Normal file
27
terraria/docker-compose.yml
Normal file
@ -0,0 +1,27 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
terraria:
|
||||
image: ghcr.io/beardedio/terraria:latest
|
||||
container_name: terraria
|
||||
ports:
|
||||
- '7777:7777'
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- world=BurgerFamily.wld
|
||||
volumes:
|
||||
- ./config:/config
|
||||
# tty: true
|
||||
# stdin_open: true
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.terraria.rule=Host(`terraria.hugowillaume.com`)"
|
||||
- "traefik.http.routers.terraria.entrypoints=terraria"
|
||||
- "traefik.http.services.terraria.loadbalancer.server.port=7777"
|
||||
networks:
|
||||
- traefik_default
|
||||
|
||||
networks:
|
||||
traefik_default:
|
||||
external: true
|
||||
|
@ -7,6 +7,9 @@
|
||||
|
||||
[entryPoints.sftp]
|
||||
address = ":2222"
|
||||
|
||||
[entryPoints.terraria]
|
||||
address = ":7777"
|
||||
|
||||
#[providers.file]
|
||||
# directory = "/etc/traefik/config"
|
||||
|
Loading…
x
Reference in New Issue
Block a user