nord vpnnord vpn
Ad

docker-compose for itzg/minecraft-bedrock-server

mail@pastecode.io avatar
unknown
yaml
2 months ago
1.0 kB
3
Indexable
Never
version: '3.6'
services:
  minecraft-bedrock-server:
    container_name: minecraft-bedrock-server
    depends_on:
      - watchtower
    environment:
      - EULA=TRUE
      - 'LEVEL_NAME=Test level'
      - 'SERVER_NAME=Test Bedrock Server'
      - GAMEMODE=survival
      - DIFFICULTY=normal
      - TZ=America/Edmonton
    image: itzg/minecraft-bedrock-server
    labels:
      - "com.centurylinklabs.watchtower.enable=true"
    ports:
      - 19132:19132/udp
    restart: unless-stopped
    tty: true
    stdin_open: true
    volumes:
      - ./config/minecraft:/data
  watchtower:
    container_name: watchtower
    command: --label-enable --cleanup --schedule '0 0 4 * * *'
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/Edmonton
    image: containrrr/watchtower
    labels:
      - "com.centurylinklabs.watchtower.enable=true"
    network_mode: none
    restart: always
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

nord vpnnord vpn
Ad