Skip to content

Commit

Permalink
update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
parklize committed Aug 7, 2024
1 parent 434e927 commit 739d403
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ VOLUME /var/lib/influxdb2 /etc/influxdb2

COPY default-config.yml /etc/defaults/influxdb2/config.yml
COPY entrypoint.sh /entrypoint.sh
COPY create_buckets.sh /create_buckets.sh
RUN chmod +x /entrypoint.sh
RUN chmod +x /create_buckets.sh

ENTRYPOINT ["/entrypoint.sh"]
CMD ["influxd"]
Expand All @@ -112,3 +115,10 @@ ENV INFLUX_CONFIGS_PATH /etc/influxdb2/influx-configs
ENV INFLUXD_INIT_PORT 9999
ENV INFLUXD_INIT_PING_ATTEMPTS 600
ENV DOCKER_INFLUXDB_INIT_CLI_CONFIG_NAME default
ENV DOCKER_INFLUXDB_INIT_MODE setup
ENV DOCKER_INFLUXDB_INIT_USERNAME glaciation
ENV DOCKER_INFLUXDB_INIT_PASSWORD glaciation
ENV DOCKER_INFLUXDB_INIT_ORG glaciation
ENV DOCKER_INFLUXDB_INIT_BUCKET data_access

#CMD ["/bin/bash", "-c", "/create_buckets.sh"]

0 comments on commit 739d403

Please sign in to comment.