Skip to content

Docker automated build repository for the bepasty

License

Notifications You must be signed in to change notification settings

u6bkep/bepasty-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bepasty-docker

Docker automated build repository for the bepasty server

Usage

Install docker on your system. for the restart feature you need at least docker 1.2. Instructions

First start/"setup"

This fetches the image (if you haven't already done that) and creates a container.

docker run -d --restart=always --name bepasty -p 127.0.0.1:5000:5000 -v /opt/bepasty:/srv/bepasty asmaps/bepasty

After startup you should have the config file located in /opt/bepasty/bepasty.conf
Adjust it to your needs and restart the server.

Stop the server

docker stop bepasty

Start the server

With the --restart=always option the server should be started automatically. If you stopped it you can start it again by running

docker start bepasty

compose

version: "3"
services:
  bepasty:
    build:
      context: .
      dockerfile: Dockerfile
    # image: bepasty:latest # specify an image fully qualified name if you want to push to a registry
    restart: unless-stopped
    volumes:
      - ./data/:/srv/bepasty/
    environment:
      - LISTEN_PORT=5000
      - LISTEN_IP=127.0.0.1

Updating

To update you need to stop and delete the container (data is stored on the host, so it shouldn't be lost), then fetch the new image and recreate the container:

docker stop bepasty
docker rm bepasty
docker pull asmaps/bepasty
docker run -d --restart=always --name bepasty -p 127.0.0.1:5000:5000 -v /opt/bepasty:/srv/bepasty asmaps/bepasty

About

Docker automated build repository for the bepasty

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 42.4%
  • Dockerfile 42.1%
  • Python 15.5%