|
|
|
@ -8,6 +8,8 @@ services: |
|
|
|
|
build: . |
|
|
|
|
container_name: ${NC_CONTAINER_NAME:-nextcloud} |
|
|
|
|
restart: ${NC_RESTART:-unless-stopped} |
|
|
|
|
expose: |
|
|
|
|
- 9000 |
|
|
|
|
depends_on: |
|
|
|
|
- db |
|
|
|
|
volumes: |
|
|
|
@ -27,6 +29,8 @@ services: |
|
|
|
|
image: ${DB_IMG:-mariadb}:${DB_TAG:-latest} |
|
|
|
|
container_name: ${DB_CONTAINER_NAME:-nextcloud-db} |
|
|
|
|
restart: ${DB_RESTART:-unless-stopped} |
|
|
|
|
expose: |
|
|
|
|
- 3306 |
|
|
|
|
volumes: |
|
|
|
|
- ${LOCAL_STACK_DIR}/db/data:/var/lib/mysql |
|
|
|
|
networks: |
|
|
|
|