Skip to content

Commit 19eee0d

Browse files
henrybarretogustavosbarreto
authored andcommitted
fix: fit docker compose enterprise file to new cloud service
1 parent aad7581 commit 19eee0d

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

docker-compose.enterprise.yml

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,39 +20,40 @@ services:
2020
ssh:
2121
image: registry.infra.ossystems.io/cache/shellhubio/ssh:${SHELLHUB_VERSION}
2222
environment:
23-
- BILLING_URL=billing-api:8080
24-
cloud-api:
25-
image: registry.infra.ossystems.io/shellhub/cloud-api:${SHELLHUB_VERSION}
23+
- BILLING_URL=cloud:8080
24+
25+
cloud:
26+
image: registry.infra.ossystems.io/shellhub/cloud:${SHELLHUB_VERSION}
2627
restart: unless-stopped
2728
environment:
29+
- DOMAIN=${SHELLHUB_DOMAIN}
30+
- AUTO_SSL=${SHELLHUB_AUTO_SSL}
2831
- EMAIL_API_KEY=${SHELLHUB_EMAIL_API_KEY-}
2932
- EMAIL_FROM_NAME=${SHELLHUB_EMAIL_FROM_NAME-}
3033
- EMAIL_FROM_ADDRESS=${SHELLHUB_EMAIL_FROM_ADDRESS-}
31-
- AUTO_SSL=${SHELLHUB_AUTO_SSL}
32-
- DOMAIN=${SHELLHUB_DOMAIN}
33-
- SHELLHUB_ENTERPRISE=${SHELLHUB_ENTERPRISE}
3434
- SAML_SECRET=${SHELLHUB_SAML_SECRET}
3535
- SHELLHUB_TUNNELS=${SHELLHUB_TUNNELS}
3636
- SHELLHUB_TUNNELS_DOMAIN=${SHELLHUB_TUNNELS_DOMAIN}
37-
networks:
38-
- shellhub
39-
admin-api:
40-
image: registry.infra.ossystems.io/shellhub/admin-api:${SHELLHUB_VERSION}
41-
restart: unless-stopped
42-
environment:
4337
- ADMIN_API_USERNAME=${SHELLHUB_ENTERPRISE_ADMIN_USERNAME}
4438
- ADMIN_API_PASSWORD=${SHELLHUB_ENTERPRISE_ADMIN_PASSWORD}
45-
- AUTO_SSL=${SHELLHUB_AUTO_SSL}
46-
- DOMAIN=${SHELLHUB_DOMAIN}
4739
- SHELLHUB_ENTERPRISE=${SHELLHUB_ENTERPRISE}
48-
- SAML_SECRET=${SHELLHUB_SAML_SECRET}
40+
- SHELLHUB_OBJECT_STORAGE_ENDPOINT=${SHELLHUB_OBJECT_STORAGE_ENDPOINT}
41+
- SHELLHUB_OBJECT_STORAGE_REGION=${SHELLHUB_OBJECT_STORAGE_REGION}
42+
- SHELLHUB_OBJECT_STORAGE_BUCKET=${SHELLHUB_OBJECT_STORAGE_BUCKET}
43+
- SHELLHUB_OBJECT_STORAGE_ACCESS_KEY=${SHELLHUB_OBJECT_STORAGE_ACCESS_KEY}
44+
- SHELLHUB_OBJECT_STORAGE_SECRET_KEY=${SHELLHUB_OBJECT_STORAGE_SECRET_KEY}
4945
secrets:
5046
- api_private_key
5147
- api_public_key
5248
networks:
5349
- shellhub
54-
dashboard:
55-
image: registry.infra.ossystems.io/shellhub/dashboard:${SHELLHUB_VERSION}
50+
51+
minio:
52+
image: minio/minio:latest
5653
restart: unless-stopped
54+
command: server /data
55+
environment:
56+
- MINIO_ROOT_USER=${SHELLHUB_OBJECT_STORAGE_ACCESS_KEY}
57+
- MINIO_ROOT_PASSWORD=${SHELLHUB_OBJECT_STORAGE_SECRET_KEY}
5758
networks:
5859
- shellhub

0 commit comments

Comments
 (0)