-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
36 lines (36 loc) · 1.08 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: '2'
services:
mariadb:
image: docker.io/bitnami/mariadb:10.6
environment:
# ALLOW_EMPTY_PASSWORD is recommended only for development.
- ALLOW_EMPTY_PASSWORD=yes
- MARIADB_USER=bn_owncloud
- MARIADB_DATABASE=bitnami_owncloud
volumes:
- 'mariadb_data:/bitnami/mariadb'
owncloud:
image: docker.io/bitnami/owncloud:10
ports:
- '80:8080'
- '443:8443'
environment:
- OWNCLOUD_DATABASE_HOST=mariadb
- OWNCLOUD_DATABASE_PORT_NUMBER=3306
- OWNCLOUD_DATABASE_USER=bn_owncloud
- OWNCLOUD_DATABASE_NAME=bitnami_owncloud
# ALLOW_EMPTY_PASSWORD is recommended only for development.
- ALLOW_EMPTY_PASSWORD=yes
# Host for accessing ownCloud
# note: this setting will only be applied on the first run
# ref: https://github.com/bitnami/containers/tree/main/bitnami/discourse#configuration
- OWNCLOUD_HOST=localhost
volumes:
- 'owncloud_data:/bitnami/owncloud'
depends_on:
- mariadb
volumes:
mariadb_data:
driver: local
owncloud_data:
driver: local