Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
RomaricMourgues authored Apr 15, 2021
2 parents ea71a98 + 19bb6f2 commit 2d90c28
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
65 changes: 65 additions & 0 deletions twake/docker-compose.yml.onpremise
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
version: "3.4"

services:
scylladb:
image: scylladb/scylla:4.1.0
command: --smp 1 --memory 1G
ports:
- 9042:9042
volumes:
- ./docker-data/scylladb:/var/lib/scylla

rabbitmq:
image: library/rabbitmq:3.8.9-management-alpine
ports:
- 15672:15672
environment:
RABBITMQ_DEFAULT_USER: admin
RABBITMQ_DEFAULT_PASS: admin

node:
image: twaketech/twake-node:latest
environment:
- NODE_ENV=production
volumes:
- ./configuration/backend-node/production.json:/usr/src/app/config/production.json
depends_on:
- scylladb
- rabbitmq
links:
- scylladb

php:
image: twaketech/twake-php:latest
environment:
- DEV=production
volumes:
- ./configuration/backend/Parameters.php:/configuration/Parameters.php
- ./connectors/:/twake-core/src/BuiltInConnectors/Connectors
- ./docker-data/drive/:/twake-core/drive/
- ./docker-data/fpm/:/etc/docker-data/fpm/
- ./docker-data/drive-preview/:/twake-core/web/medias/
- ./docker-data/uploads/:/twake-core/web/upload/
depends_on:
- scylladb
- rabbitmq
links:
- scylladb

nginx:
image: twaketech/twake-nginx:latest
environment:
- DEV=production
ports:
- 8000:80
depends_on:
- php
- node
volumes_from:
- php
- node
volumes:
- ./docker-data/logs/nginx/:/var/log/nginx
- ./docker-data/letsencrypt/:/etc/letsencrypt/
- ./docker-data/drive-preview/:/twake-core/web/medias/
- ./docker-data/uploads/:/twake-core/web/upload/
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const AddUserFromTwakeConsole = (props: PropsType) => {
props.finish();
return;
}

setLoading(true);
setDisabled(true);

Expand Down

0 comments on commit 2d90c28

Please sign in to comment.