Sign inSign up

playniuniu/piccbackend

By playniuniu

Updated almost 10 years ago

Docker for piccbackend

Image
1

1.1K

playniuniu/piccbackend repository overview

Docker for piccbackend

Description

This is the extension for docker-flansible

Configuration

You need set up an flansible folder which contains two subfolders

  • ansible: which contains hosts, ansible.cfg and your playbook file
  • ssh: which contains your private ssh key which need for ansible to run

You can see an example in the docker-flansible vol_example folder here

Run

You can just use docker-compose up -d here, or use the command below:

  1. start reids

    docker run -d --name=redis -v YOUR_REDIS_FOLDER:/data redis:alpine redis-server --appendonly yes
    
  2. start celery

    docker run -d --name=celery -v YOUR_ANSIBLE_FOLDER:/data playniuniu/flansible /env/bin/celery worker -A flansible.celery --loglevel=info
    
  3. start flansible

     docker run -d --name=flansible -p 8000:8000 -v YOUR_ANSIBLE_FOLDER:/data playniuniu/flansible
    
  4. start flower

    docker run -d --network=picc --name=flower -p 5555:5555 playniuniu/flower
    
  5. start piccbackend

    docker run -d --network=picc --name=piccbackend -p 4000:4000 -v YOUR_ANSIBLE_FOLDER:/data playniuniu/piccbackend
    
  6. start piccfront

    docker run -d --network=picc --name=piccfront -p 8080:80 playniuniu/piccfront
    
Useage

Tag summary

Content type

Image

Digest

Size

24.2 MB

Last updated

almost 10 years ago

docker pull playniuniu/piccbackend