Skip to content

Commit 4a955bc

Browse files
committed
Do not use external amqp and postresql
1 parent dac8e8b commit 4a955bc

File tree

1 file changed

+1
-38
lines changed

1 file changed

+1
-38
lines changed

nginx-proxy-manager/docker-compose.yaml

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,10 @@ services:
99
volumes:
1010
- ./data:/data
1111
- ./letsencrypt:/etc/letsencrypt
12+
1213
onlyoffice-documentserver:
1314
container_name: onlyoffice-documentserver
1415
image: onlyoffice/documentserver:latest
15-
depends_on:
16-
- onlyoffice-postgresql
17-
- onlyoffice-rabbitmq
18-
environment:
19-
- DB_TYPE=postgres
20-
- DB_HOST=onlyoffice-postgresql
21-
- DB_PORT=5432
22-
- DB_NAME=onlyoffice
23-
- DB_USER=onlyoffice
24-
- AMQP_URI=amqp://guest:guest@onlyoffice-rabbitmq
25-
# Uncomment strings below to enable the JSON Web Token validation.
26-
#- JWT_ENABLED=true
27-
#- JWT_SECRET=secret
28-
#- JWT_HEADER=Authorization
29-
#- JWT_IN_BODY=true
3016
stdin_open: true
3117
restart: always
3218
expose:
@@ -38,26 +24,3 @@ services:
3824
- /var/lib/onlyoffice/documentserver/App_Data/cache/files
3925
- /var/www/onlyoffice/documentserver-example/public/files
4026
- /usr/share/fonts
41-
42-
onlyoffice-rabbitmq:
43-
container_name: onlyoffice-rabbitmq
44-
image: rabbitmq
45-
restart: always
46-
expose:
47-
- '5672'
48-
49-
onlyoffice-postgresql:
50-
container_name: onlyoffice-postgresql
51-
image: postgres:12
52-
environment:
53-
- POSTGRES_DB=onlyoffice
54-
- POSTGRES_USER=onlyoffice
55-
- POSTGRES_HOST_AUTH_METHOD=trust
56-
restart: always
57-
expose:
58-
- '5432'
59-
volumes:
60-
- postgresql_data:/var/lib/postgresql
61-
62-
volumes:
63-
postgresql_data:

0 commit comments

Comments
 (0)