mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
dockersetup: formatting fixes
- Move copyright/license statement to top - Tabs to spaces - Drop trailing spaces Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
aa07c1b451
commit
f160927765
|
@ -1,23 +1,27 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
import argparse
|
|
||||||
import re
|
# Layer index Docker setup script
|
||||||
import subprocess
|
#
|
||||||
import time
|
# Copyright (C) 2018 Intel Corporation
|
||||||
import random
|
# Author: Amber Elliot <amber.n.elliot@intel.com>
|
||||||
|
#
|
||||||
|
# Licensed under the MIT license, see COPYING.MIT for details
|
||||||
|
|
||||||
# This script will make a cluster of 5 containers:
|
# This script will make a cluster of 5 containers:
|
||||||
|
#
|
||||||
# - layersapp: the application
|
# - layersapp: the application
|
||||||
# - layersdb: the database
|
# - layersdb: the database
|
||||||
# - layersweb: NGINX web server (as a proxy and for serving static content)
|
# - layersweb: NGINX web server (as a proxy and for serving static content)
|
||||||
# - layerscelery: Celery (for running background jobs)
|
# - layerscelery: Celery (for running background jobs)
|
||||||
# - layersrabbit: RabbitMQ (required by Celery)
|
# - layersrabbit: RabbitMQ (required by Celery)
|
||||||
|
|
||||||
# It will build and run these containers and set up the database.
|
|
||||||
# Copyright (C) 2018 Intel Corporation
|
|
||||||
# Author: Amber Elliot <amber.n.elliot@intel.com>
|
|
||||||
#
|
#
|
||||||
# Licensed under the MIT license, see COPYING.MIT for details
|
# It will build and run these containers and set up the database.
|
||||||
|
|
||||||
|
import argparse
|
||||||
|
import re
|
||||||
|
import subprocess
|
||||||
|
import time
|
||||||
|
import random
|
||||||
|
|
||||||
def get_args():
|
def get_args():
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user