Skip to content

Commit

Permalink
Update examples for /config and /data
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaiede committed May 23, 2024
1 parent 6c4c3e8 commit 960e279
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 11 deletions.
9 changes: 5 additions & 4 deletions Examples/bedrock-itzg-ssh-multiple/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ services:
# Useful for making sure your logs have a proper timestamp
TZ: "America/Los_Angeles"
volumes:
# Map your backups folder info /backups
- /opt/minecraft/backups:/backups
# (Optional) Map a configuration folder separately from the backups.
# - /opt/minecraft/backup-config:/config
# Map your backups folder into /data
- /opt/minecraft/backups:/data
# Map the data folders for both servers
- /opt/bedrock/private:/bedrock_private
- /opt/bedrock/public:/bedrock_public


# Uses manymine to do LAN announcements for both containers
# Does require docker access itself.
manymine:
Expand All @@ -29,7 +30,7 @@ services:
- '19132:19132/udp'
volumes:
- /var/run/docker.sock:/var/run/docker.sock

private:
image: itzg/minecraft-bedrock-server
restart: always
Expand Down
6 changes: 4 additions & 2 deletions Examples/bedrock-itzg-ssh/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ services:
# Useful for making sure your logs have a proper timestamp
TZ: "America/Los_Angeles"
volumes:
# Map your backups folder info /backups
- /opt/minecraft/backups:/backups
# (Optional) Map a configuration folder separately from the backups.
# - /opt/minecraft/backup-config:/config
# Map your backups folder into /data
- /opt/minecraft/backups:/data
# Map the data folders for both servers
- /opt/bedrock/private:/bedrock_private
- /opt/bedrock/public:/bedrock_public
Expand Down
6 changes: 4 additions & 2 deletions Examples/java-itzg-rcon/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ services:
# Useful for making sure your logs have a proper timestamp
TZ: "America/Los_Angeles"
volumes:
# Map your backups folder info /backups
- /opt/minecraft/backups:/backups
# (Optional) Map a configuration folder separately from the backups.
# - /opt/minecraft/backup-config:/config
# Map your backups folder into /data
- /opt/minecraft/data:/data
# Map your server's data folder
- /opt/minecraft/public:/public

Expand Down
8 changes: 5 additions & 3 deletions Examples/java-itzg-ssh/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ services:
# Useful for making sure your logs have a proper timestamp
TZ: "America/Los_Angeles"
volumes:
# Map your backups folder info /backups
- /opt/minecraft/backups:/backups
# (Optional) Map a configuration folder separately from the backups.
# - /opt/minecraft/backup-config:/config
# Map your backups folder data /data
- /opt/minecraft/backups:/data
# Map your server's data folder
- /opt/minecraft/public:/public

Expand All @@ -36,6 +38,6 @@ services:
LEVEL: "PublicSMP"
MOTD: "Public SMP Server"
MEMORY: "2G"
volumes:
volumes:
- /opt/minecraft/public:/data
restart: unless-stopped

0 comments on commit 960e279

Please sign in to comment.