-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update: halfstack packages to point latest stable versions
- Loading branch information
Showing
6 changed files
with
201 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Update the halfstack containers to point the latest stable versions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
services: | ||
|
||
backendai-half-db: | ||
image: postgres:16.3-alpine | ||
restart: unless-stopped | ||
command: postgres -c 'max_connections=256' | ||
networks: | ||
- half | ||
ports: | ||
- "8100:5432" | ||
environment: | ||
- POSTGRES_PASSWORD=develove | ||
- POSTGRES_DB=backend | ||
volumes: | ||
- "./volumes/${DATADIR_PREFIX:-.}/postgres-data:/var/lib/postgresql/data:rw" | ||
healthcheck: | ||
test: ["CMD", "pg_isready", "-U", "postgres"] | ||
interval: 5s | ||
timeout: 3s | ||
retries: 10 | ||
|
||
backendai-half-redis: | ||
image: redis:7.2.4-alpine | ||
restart: unless-stopped | ||
networks: | ||
- half | ||
ports: | ||
- "8110:6379" | ||
volumes: | ||
- "./volumes/${DATADIR_PREFIX:-.}/redis-data:/data:rw" | ||
command: > | ||
redis-server | ||
--appendonly yes | ||
healthcheck: | ||
test: ["CMD-SHELL", "redis-cli ping | grep PONG"] | ||
interval: 5s | ||
timeout: 3s | ||
retries: 10 | ||
|
||
backendai-half-etcd: | ||
image: quay.io/coreos/etcd:v3.5.14 | ||
restart: unless-stopped | ||
volumes: | ||
- "./volumes/${DATADIR_PREFIX:-.}/etcd-data:/etcd-data:rw" | ||
networks: | ||
- half | ||
ports: | ||
- "8120:2379" | ||
command: > | ||
/usr/local/bin/etcd | ||
--name backendai-etcd | ||
--data-dir /etcd-data | ||
--listen-client-urls http://0.0.0.0:2379 | ||
--advertise-client-urls http://0.0.0.0:2379 | ||
--listen-peer-urls http://0.0.0.0:2380 | ||
--initial-advertise-peer-urls http://0.0.0.0:2380 | ||
--initial-cluster backendai-etcd=http://0.0.0.0:2380 | ||
--initial-cluster-token backendai-etcd-token | ||
--initial-cluster-state new | ||
--enable-v2=true | ||
--auto-compaction-retention 1 | ||
healthcheck: | ||
test: ["CMD", "etcdctl", "endpoint", "health"] | ||
interval: 5s | ||
timeout: 3s | ||
retries: 10 | ||
|
||
networks: | ||
half: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
docker-compose.halfstack-2303.yml | ||
./docker-compose.halfstack-2409.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters