mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-28 20:04:27 +08:00
Compare commits
2 Commits
ffe808c85e
...
3ca48e1ca1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3ca48e1ca1 | ||
|
|
ea7238304d |
@@ -7,19 +7,6 @@ WORKDIR /usr/src/app
|
|||||||
# Argument to pass in the supersonic version at build time
|
# Argument to pass in the supersonic version at build time
|
||||||
ARG SUPERSONIC_VERSION
|
ARG SUPERSONIC_VERSION
|
||||||
|
|
||||||
# Install necessary packages, including Postgres client
|
|
||||||
RUN apt-get update && apt-get install -y postgresql-client
|
|
||||||
|
|
||||||
# Install the vim editor.
|
|
||||||
RUN apt-get update && apt-get install -y vim && \
|
|
||||||
rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
# Update the package list and install iputils-ping.
|
|
||||||
RUN apt-get update && apt-get install -y iputils-ping
|
|
||||||
|
|
||||||
# 更新包列表并安装 dnsutils 包
|
|
||||||
RUN apt-get update && apt-get install -y dnsutils
|
|
||||||
|
|
||||||
# Copy the supersonic standalone zip file into the container
|
# Copy the supersonic standalone zip file into the container
|
||||||
COPY assembly/build/supersonic-standalone-${SUPERSONIC_VERSION}.zip .
|
COPY assembly/build/supersonic-standalone-${SUPERSONIC_VERSION}.zip .
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ services:
|
|||||||
- 8.8.4.4
|
- 8.8.4.4
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "sh -c 'pg_isready -U supersonic_user -d postgres'"]
|
test: ["CMD-SHELL", "sh -c 'pg_isready -U supersonic_user -d postgres'"]
|
||||||
interval: 30s
|
interval: 10s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
||||||
|
|||||||
2
pom.xml
2
pom.xml
@@ -26,7 +26,7 @@
|
|||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<revision>0.9.10-SNAPSHOT</revision>
|
<revision>0.9.10</revision>
|
||||||
<java.source.version>21</java.source.version>
|
<java.source.version>21</java.source.version>
|
||||||
<java.target.version>21</java.target.version>
|
<java.target.version>21</java.target.version>
|
||||||
<maven.compiler.source>21</maven.compiler.source>
|
<maven.compiler.source>21</maven.compiler.source>
|
||||||
|
|||||||
Reference in New Issue
Block a user