Skip to content

Commit

Permalink
docker 升级 2.5.15
Browse files Browse the repository at this point in the history
  • Loading branch information
hotlong committed Oct 12, 2023
1 parent 69e63a6 commit 72ddf40
Show file tree
Hide file tree
Showing 16 changed files with 13 additions and 208 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
**/.env
**/.env

steedos-storage
17 changes: 0 additions & 17 deletions steedos-community/2.5/Dockerfile

This file was deleted.

18 changes: 0 additions & 18 deletions steedos-community/2.5/build.sh

This file was deleted.

11 changes: 0 additions & 11 deletions steedos-community/2.5/package.json

This file was deleted.

13 changes: 0 additions & 13 deletions steedos-community/2.5/steedos.config.js

This file was deleted.

17 changes: 0 additions & 17 deletions steedos-community/2.6/Dockerfile

This file was deleted.

18 changes: 0 additions & 18 deletions steedos-community/2.6/build.sh

This file was deleted.

11 changes: 0 additions & 11 deletions steedos-community/2.6/package.json

This file was deleted.

13 changes: 0 additions & 13 deletions steedos-community/2.6/steedos.config.js

This file was deleted.

16 changes: 5 additions & 11 deletions steedos-community/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ services:
- PORT=3000
- MONGO_URL=mongodb://mongodb:27017/steedos
- MONGO_OPLOG_URL=mongodb://mongodb:27017/local
- TRANSPORTER=nats://nats:4222
- CACHER=redis://redis:6379
- STEEDOS_INITIAL_PACKAGES=@steedos-labs/project-ee,@steedos-labs/demo-ee,@steedos-labs/flows
- TRANSPORTER=redis://redis:6379
- CACHER=redis://redis:6379/1
- STEEDOS_INITIAL_PACKAGES=@steedos-labs/contract-ce
- STEEDOS_STORAGE_DIR=/steedos-storage
volumes:
- "steedos-installed-packages:/app/.steedos"
- "steedos-data:/app/storage"
- "steedos-data:/steedos-storage"
labels:
- "com.centurylinklabs.watchtower.enable=true"
healthcheck:
Expand Down Expand Up @@ -59,13 +60,6 @@ services:
command: >
mongo --host mongodb:27017 --eval "rs.initiate({ _id: 'steedos', members: [{_id: 0, host: 'mongodb:27017'}]})"
# Micro Service Transporter
nats:
image: nats:2.9
ports:
- "4222:4222"
# - "8222:8222" # monitor port

# watchtower:
# restart: always
Expand Down
17 changes: 0 additions & 17 deletions steedos-enterprise/2.5/Dockerfile

This file was deleted.

18 changes: 0 additions & 18 deletions steedos-enterprise/2.5/build.sh

This file was deleted.

12 changes: 0 additions & 12 deletions steedos-enterprise/2.5/package.json

This file was deleted.

14 changes: 0 additions & 14 deletions steedos-enterprise/2.5/steedos.config.js

This file was deleted.

1 change: 0 additions & 1 deletion steedos-enterprise/docker-compose-cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ services:
# Steedos Platform
steedos:
image: steedos/steedos-enterprise:2.5
command: "yarn start"
ports:
- "${STEEDOS_PORT}:3000"
volumes:
Expand Down
21 changes: 5 additions & 16 deletions steedos-enterprise/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ services:
# Steedos Platform
steedos:
image: steedos/steedos-enterprise:2.5
command: "yarn start"
ports:
- "${STEEDOS_PORT:-3000}:3000"
volumes:
- "steedos-packages:/app/.steedos"
- "steedos-storage:/steedos-storage"
environment:
- ROOT_URL=${STEEDOS_ROOT_URL:-http://localhost:3000}
- MONGO_URL=mongodb://root:${MONGODB_PASSWORD:-steedos}@${MONGODB_ADVERTISED_HOSTNAME:-mongodb}:${MONGODB_INITIAL_PRIMARY_PORT_NUMBER:-27017}/${MONGODB_DATABASE:-steedos}?authSource=admin
Expand All @@ -21,8 +21,8 @@ services:
- STEEDOS_CFS_AWS_S3_BUCKET=${MINIO_DEFAULT_BUCKETS:-steedos}
- STEEDOS_CFS_AWS_S3_ACCESS_KEY_ID=${MINIO_ROOT_USER:-steedos}
- STEEDOS_CFS_AWS_S3_SECRET_ACCESS_KEY=${MINIO_ROOT_PASSWORD:-steedos123}
- TRANSPORTER=nats://${NATS_USERNAME:-steedos}:${NATS_USERNAME:-steedos}@nats:4222
- CACHER=redis://:${REDIS_PASSWORD:-steedos}@redis:6379
- TRANSPORTER=redis://:${REDIS_PASSWORD:-steedos}@redis:6379
- CACHER=redis://:${REDIS_PASSWORD:-steedos}@redis:6379/1
- STEEDOS_IDENTITY_OIDC_ENABLED=true
- STEEDOS_IDENTITY_OIDC_CONFIG_URL=https://id.steedos.cn/realms/master/.well-known/openid-configuration
- STEEDOS_IDENTITY_OIDC_CLIENT_ID=steedos-oidc-public
Expand All @@ -41,8 +41,6 @@ services:
condition: service_healthy
minio:
condition: service_started
nats:
condition: service_started
labels:
- "com.centurylinklabs.watchtower.enable=true"

Expand All @@ -55,17 +53,6 @@ services:
ports:
- "6379:6379"

# Micro Service Transporter
nats:
image: steedos/nats:2.8.5
environment:
- MAX_PAYLOAD=8096000 #8MB
- NATS_USERNAME=${NATS_USERNAME:-steedos}
- NATS_PASSWORD=${NATS_PASSWORD:-steedos}
ports:
- "4222:4222"
- "8222:8222" # monitor port

# S3 Storage Service
minio:
image: bitnami/minio
Expand Down Expand Up @@ -145,6 +132,8 @@ services:
volumes:
steedos-packages:
driver: local
steedos-storage:
driver: local
steedos-minio-data:
driver: local
steedos-mongodb-data:
Expand Down

0 comments on commit 72ddf40

Please sign in to comment.