forked from extern/egroupware
docker-compose.yml for windows using WSL2
This commit is contained in:
parent
300517a704
commit
0870908b00
14
api/js/egw_action/tsconfig.json
Normal file
14
api/js/egw_action/tsconfig.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"compileOnSave": true,
|
||||
"compilerOptions": {
|
||||
"target": "es2015",
|
||||
"module": "ES2020",
|
||||
"lib": ["es2020","dom"],
|
||||
"removeComments": false,
|
||||
"outDir": "./compiledJs",
|
||||
"sourceMap": true
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
]
|
||||
}
|
@ -110,7 +110,7 @@ services:
|
||||
#- EGW_EXTRA_APP_OLDAPI=https://github.com/EGroupware/phpgwapi.git https://github.com/EGroupware/etemplate.git
|
||||
#
|
||||
# XDEBUG_REMOTE_HOST need to be set, if the host running the IDE is different from 172.17.0.1 (Mac can use docker.for.mac.localhost)
|
||||
- XDEBUG_REMOTE_HOST=docker.for.mac.localhost
|
||||
- XDEBUG_REMOTE_HOST=host.docker.internal
|
||||
restart: always
|
||||
depends_on:
|
||||
- db
|
||||
@ -134,8 +134,8 @@ services:
|
||||
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
ports:
|
||||
# if no webserver is running on the host, change (first) number to 80 and 443
|
||||
- "8080:80"
|
||||
- "4443:443"
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
depends_on:
|
||||
- egroupware
|
||||
- push
|
||||
@ -150,7 +150,7 @@ services:
|
||||
environment:
|
||||
#- MYSQL_ROOT=root
|
||||
- MYSQL_ROOT_PASSWORD=secret
|
||||
- MARIADB_AUTO_UPGRADE=true
|
||||
#- MARIADB_AUTO_UPGRADE=true
|
||||
volumes:
|
||||
- $PWD/db:/var/lib/mysql
|
||||
# to add an own persistent configuration
|
||||
@ -167,7 +167,8 @@ services:
|
||||
command:
|
||||
- /var/www/server.php
|
||||
volumes:
|
||||
- $PWD/sources-push:/var/www
|
||||
# push server needs this source
|
||||
- $PWD/sources/egroupware/swoolepush:/var/www
|
||||
- $PWD/sessions:/var/lib/php/sessions
|
||||
- $PWD/push-config:/var/lib/egroupware-push
|
||||
container_name: egroupware-push
|
||||
@ -204,9 +205,9 @@ services:
|
||||
image: "quay.io/egroupware/collabora-key:stable"
|
||||
#image: collabora/code:latest
|
||||
volumes:
|
||||
- $PWD/collabora-config:/etc/loolwsd
|
||||
# $PWD/collabora-config:/etc/loolwsd
|
||||
# support for Collabora/CODE 21.11+
|
||||
- $PWD/collabora-config:/etc/coolwsd
|
||||
- $PWD/data/default/loolwsd:/etc/coolwsd
|
||||
restart: always
|
||||
container_name: collabora-key
|
||||
# set the ip-address of your docker host AND your official DNS name so Collabora
|
||||
@ -221,15 +222,15 @@ services:
|
||||
image: "quay.io/egroupware/collabora-key:latest"
|
||||
command: bash -c "test -f /tmp/coolwsd/coolwsd.xml || (cp -p /etc/coolwsd/* /tmp/coolwsd && cd /tmp/coolwsd && ln -s coolwsd.conf loolwsd.conf)"
|
||||
volumes:
|
||||
- $PWD/collabora-config:/tmp/coolwsd
|
||||
- $PWD/data/default/loolwsd:/tmp/coolwsd
|
||||
|
||||
# Rocket.Chat server
|
||||
rocketchat:
|
||||
image: rocketchat/rocket.chat:latest
|
||||
image: quay.io/egroupware/rocket.chat:latest
|
||||
command: bash -c 'for i in `seq 1 30`; do node main.js && s=$$? && break || s=$$?; echo "Tried $$i times. Waiting 5 secs..."; sleep 5; done; (exit $$s)'
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- $PWD/rocketchat-uploads:/app/uploads
|
||||
- $PWD/data/default/rocketchat/uploads:/app/uploads
|
||||
# if EGroupware uses a certificate from a private CA, OAuth authentication will fail, you need to:
|
||||
# - have the CA certificate stored at /etc/egroupware-docker/private-ca.crt
|
||||
# - uncomment the next 2 lines about the private CA:
|
||||
@ -253,17 +254,17 @@ services:
|
||||
|
||||
# MongoDB for Rocket.Chat
|
||||
mongo:
|
||||
image: mongo:4.2
|
||||
image: mongo:5.0
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- $PWD/mongo:/data/db
|
||||
- $PWD/rocketchat-dumps:/dump
|
||||
command: mongod --smallfiles --oplogSize 128 --replSet rs0 --storageEngine=mmapv1
|
||||
- mongo:/data/db
|
||||
- $PWD/data/default/rocketchat/dump:/dump
|
||||
command: mongod --oplogSize 128 --replSet rs0
|
||||
container_name: rocketchat-mongo
|
||||
# this container's job is just run the command to initialize the replica set.
|
||||
# it will run the command and remove himself (it will not stay running)
|
||||
mongo-init-replica:
|
||||
image: mongo:4.2
|
||||
image: mongo:5.0
|
||||
command: 'bash -c "for i in `seq 1 30`; do mongo mongo/rocketchat --eval \"rs.initiate({ _id: ''rs0'', members: [ { _id: 0, host: ''localhost:27017'' } ]})\" && s=$$? && break || s=$$?; echo \"Tried $$i times. Waiting 5 secs...\"; sleep 5; done; (exit $$s)"'
|
||||
depends_on:
|
||||
- mongo
|
||||
|
Loading…
Reference in New Issue
Block a user