nidaren

docker-compose.yml - embedded images

Jun 16th, 2022 (edited)
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.25 KB | None | 0 0
  1. version: '3.8'
  2.  
  3. services:
  4.   eco-server-release:
  5.     container_name: eco-server-release
  6.     image: nidaren/eco-server:release
  7.     restart: unless-stopped
  8.     # comment out both stdin_opn and tty if you don't need these functionalities.
  9.     # both work in detached mode (-d) when attaching to the container
  10.     stdin_open: true # interactive: allows to input keyboard commands to the container in (-d) detached mode.
  11.     tty: true        # tty: pseudo terminal, needed if using stdin_open, adds colors as well.
  12.     volumes:
  13.    # Exposes Storage, Configs, Mods and Logs folders.
  14.       - type: bind
  15.         source: ./server/Storage         # source - location on the host
  16.         target: /home/container/Storage  # target - location inside container
  17.       - type: bind
  18.         source: ./server/Configs
  19.         target: /home/container/Configs
  20.       - type: bind
  21.         source: ./server/Mods
  22.         target: /home/container/Mods
  23.       - type: bind
  24.         source: ./server/Logs
  25.         target: /home/container/Logs
  26.     ports:
  27.    # Ports to be assigned in format host:container
  28.       - "3000:3000/udp" # GameServerPort from Network.eco
  29.       - "3001:3001/tcp" # WebServerPort from Network.eco
  30.       - "3002:3002/tcp" # RconServerPort from Network.eco
  31.  
Add Comment
Please, Sign In to add comment