added wiki to nextcloud docker
This commit is contained in:
parent
c322561a72
commit
314b52f033
@ -1,5 +1,3 @@
|
|||||||
version: '3.9'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
db:
|
db:
|
||||||
image: postgres:14
|
image: postgres:14
|
||||||
@ -81,7 +79,41 @@ services:
|
|||||||
- ES_JAVA_OPTS=-Xms1g -Xmx1g
|
- ES_JAVA_OPTS=-Xms1g -Xmx1g
|
||||||
- xpack.security.http.ssl.enabled=false
|
- xpack.security.http.ssl.enabled=false
|
||||||
networks:
|
networks:
|
||||||
DEFAULT_NETWORK:
|
default:
|
||||||
|
|
||||||
|
xwiki:
|
||||||
|
image: xwiki:stable-postgres-tomcat
|
||||||
|
container_name: xwiki
|
||||||
|
restart: always
|
||||||
|
depends_on:
|
||||||
|
- xwiki-db
|
||||||
|
ports:
|
||||||
|
- 8080:8080
|
||||||
|
environment:
|
||||||
|
- DB_USER=xwiki
|
||||||
|
- DB_PASSWORD=xwiki
|
||||||
|
- DB_HOST=xwiki-db
|
||||||
|
volumes:
|
||||||
|
- /volumes/nextcloud/xwiki/data:/usr/local/xwiki
|
||||||
|
- /volumes/nextcloud/xwiki/data/xwiki.cfg:/usr/local/tomcat/webapps/ROOT/WEB-INF/xwiki.cfg
|
||||||
|
- /volumes/nextcloud/xwiki/data/xwiki.properties:/usr/local/tomcat/webapps/ROOT/WEB-INF/xwiki.properties
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
|
||||||
|
xwiki-db:
|
||||||
|
image: postgres:17
|
||||||
|
container_name: xwiki-db
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- /volumes/nextcloud/xwiki/db/data:/var/lib/postgresql/data
|
||||||
|
environment:
|
||||||
|
- POSTGRES_ROOT_PASSWORD=xwiki
|
||||||
|
- POSTGRES_PASSWORD=xwiki
|
||||||
|
- POSTGRES_USER=xwiki
|
||||||
|
- POSTGRES_DB=xwiki
|
||||||
|
- POSTGRES_INITDB_ARGS=--encoding=UTF8 --locale-provider=builtin --locale=C.UTF-8
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user