This image provides the possibility to run simplecloud in docker. The image runs a screen inside the container to make it possible to interact with the cloud event when attached over a separate shell.
docker pull bluel0w/simplecloud-docker
docker run -d -it --name simplecloud bluel0w/simplecloud-docker:latest
- STARTUP
- Possible values: Manager | Wrapper
- This starts the Manager or Wrapper application automatically
docker run -d -it --name simplecloud -e STARTUP=Manager bluel0w/simplecloud-docker:latest
version: '3'
services:
simplecloud:
image: bluel0w/simplecloud-docker:latest # The name of the image
container_name: simplecloud
volumes:
- simplecloud_data:/app # Stores the data persistent
ports:
- "25565:25565" # Change the port if your Cloud listens on a different port
- "8585:8585" # REST-API
environment:
- STARTUP=Manager # Set the required STARTUP application here
stdin_open: true
tty: true
volumes:
simplecloud_data:
version: '3'
services:
simplecloud-manager:
image: bluel0w/simplecloud-docker:latest # The name of the image
volumes:
- simplecloud_data:/app # Stores the data persistent
networks:
- simplecloud_net
ports:
- "25565:25565" # Change the port if your Cloud listens on a different port
- "8585:8585" # REST-API
environment:
- STARTUP=Manager # Set the required STARTUP application here
stdin_open: true
tty: true
simplecloud-wrapper:
image: bluel0w/simplecloud-docker:latest # The name of the image
volumes:
- simplecloud_data:/app # Stores the data persistent
networks:
- simplecloud_net
environment:
- STARTUP=Wrapper # Set the required STARTUP application here
stdin_open: true
tty: true
volumes:
simplecloud_data:
networks:
simplecloud_net:
docker attach simplecloud
This way you can interact with the built-in shell.
It is highly recommended to use a volume to store persistent data of the cloud configurations.