-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
43 lines (43 loc) · 1.46 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
services:
# NO SE PUEDE LEVANTAR EL BOT DE TELEGRAM EN EL MISMO SERVER QUE EL SERVER DE MINECRAFT 🔥
# servercito:
# build:
# context: .
# dockerfile: Dockerfile
# ports:
# - '3333:3333'
# environment:
# BOT_TOKEN: 'your-bot-token'
# GIPHY_TOKEN: 'your-giphy-token'
# SERVER_GCP_ZONE: 'your-gcp-zone'
# SERVER_GCP_NAME: 'your-server-name'
# volumes:
# - ./my_credentials.json:/app/my_credentials.json
mc:
image: itzg/minecraft-server
tty: true
stdin_open: true
ports:
- '25565:25565'
restart: unless-stopped
env_file:
- minecraft.env
volumes:
# attach the relative directory 'data' to the container's /data path
- ./mods:/mods
- ./data:/data
filebrowser:
image: filebrowser/filebrowser
container_name: filebrowser
ports:
- 8080:80
volumes:
- ./minecraft.env:/srv/minecraft.env # Mounting the Minecraft environment file for file access in FileBrowser
- ./mods:/srv/mods # Mounting the Minecraft modpacks directory for file access in FileBrowser
- ./data:/srv/data # Mounting the Minecraft data directory for file access in FileBrowser
- ./filebrowser-data:/data # Persistent storage for FileBrowser settings and database
- ./filebrowser-config:/config # Configuration storage for FileBrowser
environment:
- TZ='America/Argentina/Buenos_Aires'
- FB_BASEURL=/filebrowser
restart: unless-stopped