Skip to content

Modify Dockerfile for increasing workers #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM cloudforet/python-core:2.0

ENV PYTHONUNBUFFERED 1
ENV SPACEONE_PORT 50051
ENV SERVER_TYPE grpc
ENV PKG_DIR /tmp/pkg
ENV SRC_DIR /tmp/src
ENV PYTHONUNBUFFERED=1
ENV SPACEONE_PORT=50051
ENV SERVER_TYPE=grpc
ENV PKG_DIR=/tmp/pkg
ENV SRC_DIR=/tmp/src

RUN apt update && apt upgrade -y

Expand All @@ -21,4 +21,4 @@ RUN python3 setup.py install && rm -rf /tmp/*
EXPOSE ${SPACEONE_PORT}

ENTRYPOINT ["spaceone"]
CMD ["run", "plugin-server", "plugin"]
CMD ["run", "plugin-server", "plugin", "-w", "12"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ Plugin for collecting AWS HyperBilling data
</pre>

## Options
Currently, not required.
*Example*
24 changes: 12 additions & 12 deletions src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,25 @@

from setuptools import setup, find_packages

with open('VERSION', 'r') as f:
with open("VERSION", "r") as f:
VERSION = f.read().strip()
f.close()

setup(
name='plugin-aws-hyperbilling-cost-datasource',
name="plugin-aws-hyperbilling-cost-datasource",
version=VERSION,
description='Data source plugin for AWS HyperBilling',
long_description='',
url='https://www.spaceone.dev/',
author='MEGAZONE SpaceONE Team',
author_email='[email protected]',
license='Apache License 2.0',
description="Data source plugin for AWS HyperBilling",
long_description="",
url="https://www.spaceone.dev/",
author="MEGAZONE SpaceONE Team",
author_email="[email protected]",
license="Apache License 2.0",
packages=find_packages(),
install_requires=[
'spaceone-core',
'spaceone-api',
'spaceone-cost-analysis',
'pyarrow'
"spaceone-core",
"spaceone-api",
"spaceone-cost-analysis==2.0.dev204",
"pyarrow",
],
zip_safe=False,
)
Loading